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)
commit2067231a9e2cbbcae0a4aca6ac36ff2dd6a7b701
treef10ae762d95b8ba57fcc995ab4b464c1a51fcf1b
parent3fa5cbdc44de190f2c5605ba7db015ae0d26f668
NFS: Fix missing unlock in nfs_unlink()

Add the missing unlock before goto.

Fixes: 3c59366c207e ("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