diff options
author | Jeff Layton <[email protected]> | 2023-01-18 12:31:34 -0500 |
---|---|---|
committer | Chuck Lever <[email protected]> | 2023-02-20 09:20:51 -0500 |
commit | fcb530973b3c48099108e6e2e7433db9188f7eeb (patch) | |
tree | deea6e7a21cdd6eadbb14c9ea514e5b58e3e6106 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | c4a9f0552cf682489d370adccf2f3ee11a8ff272 (diff) |
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 <[email protected]>
Reviewed-by: Olga Kornievskaia <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions