commit | df593ee23e05cdda16c8c995e5818779431bb29f | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Thu May 30 11:37:39 2019 +0100 |
committer | David Howells <dhowells@redhat.com> | Thu May 30 22:30:55 2019 +0100 |
tree | 1abe20cf6ac343d4b0f92756c19ad1b6b7a70a65 | |
parent | eb0f68cb7042fd5cff0d6b57966a93049fb2495b [diff] |
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>