summaryrefslogtreecommitdiff
path: root/samples/mei
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2018-12-03 11:30:30 +1100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-10-06 15:31:28 +0200
commit7581fdf6c01991f03b1b51d524f1b7b64c920ce3 (patch)
tree90331f985cbb141c16169d8e2cba40477cb62357 /samples/mei
parent764ac04de056801dfe52a716da63f6e7018e7f3b (diff)
cred: allow get_cred() and put_cred() to be given NULL.
commit f06bc03339ad4c1baa964a5f0606247ac1c3c50b 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>
Diffstat (limited to 'samples/mei')
0 files changed, 0 insertions, 0 deletions