cred: allow get_cred() and put_cred() to be given NULL.
commit f06bc033 upstream. 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> Cc: Eric Dumazet <edumazet@google.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
parent
7ce4e491
Please register or sign in to comment