aboutsummaryrefslogtreecommitdiff
path: root/fs/nfsd/vfs.h
diff options
context:
space:
mode:
authorGravatar NeilBrown <neilb@suse.de> 2022-09-06 10:42:19 +1000
committerGravatar Chuck Lever <chuck.lever@oracle.com> 2022-09-26 14:02:30 -0400
commit9558f9304ca1903090fa5d995a3269a8e82804b4 (patch)
tree5e4a470a8432de8049aa9421357e0b338d795adc /fs/nfsd/vfs.h
parentNFSD: Protect against send buffer overflow in NFSv3 READ (diff)
downloadlinux-9558f9304ca1903090fa5d995a3269a8e82804b4.tar.gz
linux-9558f9304ca1903090fa5d995a3269a8e82804b4.tar.bz2
linux-9558f9304ca1903090fa5d995a3269a8e82804b4.zip
NFSD: drop fname and flen args from nfsd_create_locked()
nfsd_create_locked() does not use the "fname" and "flen" arguments, so drop them from declaration and all callers. 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/vfs.h')
-rw-r--r--fs/nfsd/vfs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/vfs.h b/fs/nfsd/vfs.h
index c95cd414b4bb..120521bc7b24 100644
--- a/fs/nfsd/vfs.h
+++ b/fs/nfsd/vfs.h
@@ -79,8 +79,8 @@ __be32 nfsd4_clone_file_range(struct svc_rqst *rqstp,
u64 count, bool sync);
#endif /* CONFIG_NFSD_V4 */
__be32 nfsd_create_locked(struct svc_rqst *, struct svc_fh *,
- char *name, int len, struct nfsd_attrs *attrs,
- int type, dev_t rdev, struct svc_fh *res);
+ struct nfsd_attrs *attrs, int type, dev_t rdev,
+ struct svc_fh *res);
__be32 nfsd_create(struct svc_rqst *, struct svc_fh *,
char *name, int len, struct nfsd_attrs *attrs,
int type, dev_t rdev, struct svc_fh *res);