diff options
author | NeilBrown <neilb@suse.com> | 2018-12-03 11:30:30 +1100 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2018-12-19 13:52:44 -0500 |
commit | f06bc03339ad4c1baa964a5f0606247ac1c3c50b (patch) | |
tree | b31f33d2bd3099e6366d8cdf73cb1bcb3458fdce /fs/cifs/winucase.c | |
parent | a6d8e7637faac93f362b694311bff64d5a8c701e (diff) |
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/cifs/winucase.c')
0 files changed, 0 insertions, 0 deletions