nfsd: don't take/put an extra reference when putting a file
authorJeff Layton <jlayton@kernel.org>
Wed, 18 Jan 2023 17:31:37 +0000 (12:31 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Wed, 26 Apr 2023 13:04:59 +0000 (09:04 -0400)
commitb2ff1bd71db2a1b193a6dde0845adcd69cbcf75e
treeecba3c8eec96cde0b2fe713c731cfb7c434ffc83
parentb680cb9b737331aad271feebbedafb865504e234
nfsd: don't take/put an extra reference when putting a file

The last thing that filp_close does is an fput, so don't bother taking
and putting the extra reference.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/filecache.c