diff options
| author | 2020-10-29 15:07:16 -0400 | |
|---|---|---|
| committer | 2020-11-05 17:25:14 -0500 | |
| commit | 49a361327332c9221438397059067f9b205f690d (patch) | |
| tree | aa1cba58354156ca0ab10edaba94d292f35ebd53 /samples/git:/ssh:/git@git.zx2c4.com | |
| parent | NFSD: Fix use-after-free warning when doing inter-server copy (diff) | |
| download | linux-dev-49a361327332c9221438397059067f9b205f690d.tar.xz linux-dev-49a361327332c9221438397059067f9b205f690d.zip | |
NFSD: fix missing refcount in nfsd4_copy by nfsd4_do_async_copy
Need to initialize nfsd4_copy's refcount to 1 to avoid use-after-free
warning when nfs4_put_copy is called from nfsd4_cb_offload_release.
Fixes: ce0887ac96d3 ("NFSD add nfs4 inter ssc to nfsd4_copy")
Signed-off-by: Dai Ngo <dai.ngo@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'samples/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
