diff options
author | Olga Kornievskaia <[email protected]> | 2021-03-09 09:41:14 -0500 |
---|---|---|
committer | Chuck Lever <[email protected]> | 2021-03-09 13:26:59 -0500 |
commit | 614c9750173e412663728215152cc6d12bcb3425 (patch) | |
tree | 7c9d3690167970186ee21ca503fe0db32d0badd0 /lib/test-string_helpers.c | |
parent | 6ee65a773096ab3f39d9b00311ac983be5bdeb7c (diff) |
NFSD: fix dest to src mount in inter-server COPY
A cleanup of the inter SSC copy needs to call fput() of the source
file handle to make sure that file structure is freed as well as
drop the reference on the superblock to unmount the source server.
Fixes: 36e1e5ba90fb ("NFSD: Fix use-after-free warning when doing inter-server copy")
Signed-off-by: Olga Kornievskaia <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Tested-by: Dai Ngo <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions