diff options
author | David Howells <dhowells@redhat.com> | 2019-06-19 16:10:15 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2019-06-19 16:10:15 +0100 |
commit | e59428f721ee096d8a020504ea908a6f0d952735 (patch) | |
tree | 4efe82c08f4a65a5a8834a7b75f831569e03c3ba /include | |
parent | a09003b5d7cea71ce4b59e409d5a7158c789e1b4 (diff) | |
download | linux-e59428f721ee096d8a020504ea908a6f0d952735.tar.gz linux-e59428f721ee096d8a020504ea908a6f0d952735.tar.bz2 linux-e59428f721ee096d8a020504ea908a6f0d952735.zip |
keys: Move the RCU locks outwards from the keyring search functions
Move the RCU locks outwards from the keyring search functions so that it
will become possible to provide an RCU-capable partial request_key()
function in a later commit.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/keys/request_key_auth-type.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/keys/request_key_auth-type.h b/include/keys/request_key_auth-type.h index a726dd3f1dc6..2a046062bb42 100644 --- a/include/keys/request_key_auth-type.h +++ b/include/keys/request_key_auth-type.h @@ -18,6 +18,7 @@ * Authorisation record for request_key(). */ struct request_key_auth { + struct rcu_head rcu; struct key *target_key; struct key *dest_keyring; const struct cred *cred; |