aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/filelayout/filelayoutdev.c
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2014-08-04 06:24:00 +0000
committerTrond Myklebust <[email protected]>2014-08-04 13:22:08 +0000
commit122a8cda6a9a3594c4737570f5cd81636bcd20cf (patch)
tree75d8f337b22e59e70d31670a7ebdbd47a8c00412 /fs/nfs/filelayout/filelayoutdev.c
parentNFS: fix two problems in lookup_revalidate in RCU-walk (diff)
downloadkernel-122a8cda6a9a3594c4737570f5cd81636bcd20cf.tar.gz
kernel-122a8cda6a9a3594c4737570f5cd81636bcd20cf.zip
SUNRPC: remove all refcounting of groupinfo from rpcauth_lookupcred
current_cred() can only be changed by 'current', and cred->group_info is never changed. If a new group_info is needed, a new 'cred' is created. Consequently it is always safe to access current_cred()->group_info without taking any further references. So drop the refcounting and the incorrect rcu_dereference(). Signed-off-by: NeilBrown <[email protected]> Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'fs/nfs/filelayout/filelayoutdev.c')
0 files changed, 0 insertions, 0 deletions