summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/vfs.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2022-03-27 16:46:47 -0400
committerChuck Lever <chuck.lever@oracle.com>2022-05-20 13:18:25 -0400
commitf4d84c52643ae1d63a8e73e2585464470e7944d1 (patch)
tree94fdf304e9ed08004064f5e486dac216ce1fc8df /fs/nfsd/vfs.h
parent1c388f27759c5d9271d4fca081f7ee138986eb7d (diff)
downloadlinux-stable-f4d84c52643ae1d63a8e73e2585464470e7944d1.tar.gz
linux-stable-f4d84c52643ae1d63a8e73e2585464470e7944d1.tar.bz2
linux-stable-f4d84c52643ae1d63a8e73e2585464470e7944d1.zip
NFSD: Clean up nfsd_open_verified()
Its only caller always passes S_IFREG as the @type parameter. As an additional clean-up, add a kerneldoc comment. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/vfs.h')
-rw-r--r--fs/nfsd/vfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/vfs.h b/fs/nfsd/vfs.h
index f99794b033a5..26347d76f44a 100644
--- a/fs/nfsd/vfs.h
+++ b/fs/nfsd/vfs.h
@@ -86,7 +86,7 @@ __be32 nfsd_setxattr(struct svc_rqst *rqstp, struct svc_fh *fhp,
int nfsd_open_break_lease(struct inode *, int);
__be32 nfsd_open(struct svc_rqst *, struct svc_fh *, umode_t,
int, struct file **);
-__be32 nfsd_open_verified(struct svc_rqst *, struct svc_fh *, umode_t,
+__be32 nfsd_open_verified(struct svc_rqst *, struct svc_fh *,
int, struct file **);
__be32 nfsd_splice_read(struct svc_rqst *rqstp, struct svc_fh *fhp,
struct file *file, loff_t offset,