diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2022-03-27 23:46:47 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-05-20 20:18:25 +0300 |
commit | f4d84c52643ae1d63a8e73e2585464470e7944d1 (patch) | |
tree | 94fdf304e9ed08004064f5e486dac216ce1fc8df /fs/nfsd/filecache.c | |
parent | 1c388f27759c5d9271d4fca081f7ee138986eb7d (diff) | |
download | linux-f4d84c52643ae1d63a8e73e2585464470e7944d1.tar.xz |
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/filecache.c')
-rw-r--r-- | fs/nfsd/filecache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/filecache.c b/fs/nfsd/filecache.c index 2c1b027774d4..781bef7e42d9 100644 --- a/fs/nfsd/filecache.c +++ b/fs/nfsd/filecache.c @@ -995,8 +995,8 @@ open_file: nf->nf_mark = nfsd_file_mark_find_or_create(nf); if (nf->nf_mark) - status = nfsd_open_verified(rqstp, fhp, S_IFREG, - may_flags, &nf->nf_file); + status = nfsd_open_verified(rqstp, fhp, may_flags, + &nf->nf_file); else status = nfserr_jukebox; /* |