diff options
author | NeilBrown <neilb@suse.de> | 2024-07-26 12:21:31 +1000 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2024-09-20 19:31:03 -0400 |
commit | 9fd45c16f3e3b95b458e049c77f4d7dfef673a52 (patch) | |
tree | 2889fe4f7e370ab02f4d6d825d91eec8819de4fb /fs/nfsd/nfsd.h | |
parent | c55aeef7766cdc52847d03dd1326859c55811a52 (diff) | |
download | linux-9fd45c16f3e3b95b458e049c77f4d7dfef673a52.tar.gz linux-9fd45c16f3e3b95b458e049c77f4d7dfef673a52.tar.bz2 linux-9fd45c16f3e3b95b458e049c77f4d7dfef673a52.zip |
nfsd: Pass 'cred' instead of 'rqstp' to some functions.
nfsd_permission(), exp_rdonly(), nfsd_setuser(), and nfsexp_flags()
only ever need the cred out of rqstp, so pass it explicitly instead of
the whole rqstp.
This makes the interfaces cleaner.
Signed-off-by: NeilBrown <neilb@suse.de>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/nfsd.h')
0 files changed, 0 insertions, 0 deletions