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 | f06bc03339ad4c1baa964a5f0606247ac1c3c50b (patch) | |
tree | b31f33d2bd3099e6366d8cdf73cb1bcb3458fdce /net/sunrpc/auth.c | |
parent | cred: export get_task_cred(). (diff) | |
download | linux-f06bc03339ad4c1baa964a5f0606247ac1c3c50b.tar.xz linux-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 'net/sunrpc/auth.c')
0 files changed, 0 insertions, 0 deletions