diff options
author | NeilBrown <neilb@suse.com> | 2018-12-03 01:30:30 +0100 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2018-12-19 19:52:44 +0100 |
commit | 97d0fb239c041f5f99655af74812c3ab75cc4346 (patch) | |
tree | 767e0ff0ed918579b3afb8d9fcd1e37d4143d12b /Makefile | |
parent | cred: add cred_fscmp() for comparing creds. (diff) | |
download | linux-97d0fb239c041f5f99655af74812c3ab75cc4346.tar.xz linux-97d0fb239c041f5f99655af74812c3ab75cc4346.zip |
cred: add get_cred_rcu()
Sometimes we want to opportunistically get a
ref to a cred in an rcu_read_lock protected section.
get_task_cred() does this, and NFS does as similar thing
with its own credential structures.
To prepare for NFS converting to use 'struct cred' more
uniformly, define get_cred_rcu(), and use it in
get_task_cred().
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions