aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4callback.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2018-12-03 11:30:30 +1100
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2018-12-19 13:52:44 -0500
commitf06bc03339ad4c1baa964a5f0606247ac1c3c50b (patch)
treeb31f33d2bd3099e6366d8cdf73cb1bcb3458fdce /fs/nfsd/nfs4callback.c
parentcred: export get_task_cred(). (diff)
downloadlinux-dev-f06bc03339ad4c1baa964a5f0606247ac1c3c50b.tar.xz
linux-dev-f06bc03339ad4c1baa964a5f0606247ac1c3c50b.zip
cred: allow get_cred() and put_cred() to be given NULL.
It is common practice for helpers like this to silently, accept a NULL pointer. get_rpccred() and put_rpccred() used by NFS act this way and using the same interface will ease the conversion for NFS, and simplify the resulting code. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfsd/nfs4callback.c')
0 files changed, 0 insertions, 0 deletions