diff options
author | David Howells <dhowells@redhat.com> | 2019-05-30 11:37:39 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2019-05-30 22:30:55 +0100 |
commit | df593ee23e05cdda16c8c995e5818779431bb29f (patch) | |
tree | 1abe20cf6ac343d4b0f92756c19ad1b6b7a70a65 /security/keys/compat.c | |
parent | eb0f68cb7042fd5cff0d6b57966a93049fb2495b (diff) | |
download | lwn-df593ee23e05cdda16c8c995e5818779431bb29f.tar.gz lwn-df593ee23e05cdda16c8c995e5818779431bb29f.zip |
keys: Hoist locking out of __key_link_begin()
Hoist the locking of out of __key_link_begin() and into its callers. This
is necessary to allow the upcoming key_move() operation to correctly order
taking of the source keyring semaphore, the destination keyring semaphore
and the keyring serialisation lock.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'security/keys/compat.c')
0 files changed, 0 insertions, 0 deletions