]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Fix missing unlock in nfs_unlink()
authorSun Ke <sunke32@huawei.com>
Fri, 12 Aug 2022 01:14:40 +0000 (09:14 +0800)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 13 Aug 2022 17:02:13 +0000 (13:02 -0400)
commita22e5d21705760fdb048e74c18099eba99bbb194
treef10ae762d95b8ba57fcc995ab4b464c1a51fcf1b
parentfc2f13b88d4bda6d593de1749894d4c0a514056d
NFS: Fix missing unlock in nfs_unlink()

Add the missing unlock before goto.

Fixes: 58e50a7f16fb ("NFS: don't unhash dentry during unlink/rename")
Signed-off-by: Sun Ke <sunke32@huawei.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/dir.c