diff options
author | NeilBrown <neilb@suse.de> | 2021-09-28 09:47:57 +1000 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2022-01-06 14:00:19 -0500 |
commit | b5e7b59c3480f355910f9d2c6ece5857922a5e54 (patch) | |
tree | e76319783b32ad4f5996813e42403554978eb940 /CREDITS | |
parent | c9e6606c7fe92b50a02ce51dda82586ebdf99b48 (diff) | |
download | lwn-b5e7b59c3480f355910f9d2c6ece5857922a5e54.tar.gz lwn-b5e7b59c3480f355910f9d2c6ece5857922a5e54.zip |
NFS: change nfs_access_get_cached to only report the mask
Currently the nfs_access_get_cached family of functions report a
'struct nfs_access_entry' as the result, with both .mask and .cred set.
However the .cred is never used. This is probably good and there is no
guarantee that it won't be freed before use.
Change to only report the 'mask' - as this is all that is used or needed.
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions