diff options
author | 2023-01-23 21:34:13 -0800 | |
---|---|---|
committer | 2023-02-20 09:20:52 -0500 | |
commit | 34e8f9ec4c9ac235f917747b23a200a5e0ec857b (patch) | |
tree | ae138483199dc790afca1a580fccc5e3536ac24d /scripts/lib/kdoc/kdoc_files.py | |
parent | nfsd: clean up potential nfsd_file refcount leaks in COPY codepath (diff) | |
download | wireguard-linux-34e8f9ec4c9ac235f917747b23a200a5e0ec857b.tar.xz wireguard-linux-34e8f9ec4c9ac235f917747b23a200a5e0ec857b.zip |
NFSD: fix leaked reference count of nfsd4_ssc_umount_item
The reference count of nfsd4_ssc_umount_item is not decremented
on error conditions. This prevents the laundromat from unmounting
the vfsmount of the source file.
This patch decrements the reference count of nfsd4_ssc_umount_item
on error.
Fixes: f4e44b393389 ("NFSD: delay unmount source's export after inter-server copy completed.")
Signed-off-by: Dai Ngo <dai.ngo@oracle.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions