summaryrefslogtreecommitdiff
path: root/fs/nfsd/nfs4state.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2023-01-18 20:31:34 +0300
committerChuck Lever <chuck.lever@oracle.com>2023-02-20 17:20:51 +0300
commitfcb530973b3c48099108e6e2e7433db9188f7eeb (patch)
treedeea6e7a21cdd6eadbb14c9ea514e5b58e3e6106 /fs/nfsd/nfs4state.c
parentc4a9f0552cf682489d370adccf2f3ee11a8ff272 (diff)
downloadlinux-fcb530973b3c48099108e6e2e7433db9188f7eeb.tar.xz
nfsd: don't take nfsd4_copy ref for OP_OFFLOAD_STATUS
We're not doing any blocking operations for OP_OFFLOAD_STATUS, so taking and putting a reference is a waste of effort. Take the client lock, search for the copy and fetch the wr_bytes_written field and return. Also, make find_async_copy a static function. Signed-off-by: Jeff Layton <jlayton@kernel.org> Reviewed-by: Olga Kornievskaia <kolga@netapp.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/nfs4state.c')
0 files changed, 0 insertions, 0 deletions