]> 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)
commit2c54f52b7103fcf6567d6a2a3e502a5f587cd43f
treef10ae762d95b8ba57fcc995ab4b464c1a51fcf1b
parent47bffb7222ad7c6639310ba74f93e7566aae0aa9
NFS: Fix missing unlock in nfs_unlink()

Add the missing unlock before goto.

Fixes: 267be6063820 ("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