From: Steve Dickson Date: Sat, 20 Aug 2005 00:57:48 +0000 (-0700) Subject: [PATCH] NFSv4: unbalanced BKL in nfs_atomic_lookup() X-Git-Tag: MMI-PSA29.97-13-9~56248^2~11 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=01c314a0c0f6367960a7cb1ffb5796560ccaa1c1;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [PATCH] NFSv4: unbalanced BKL in nfs_atomic_lookup() Added missing unlock_kernel() to NFSv4 atomic lookup. Signed-off-by: Steve Dickson Signed-off-by: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index 147cbf9261ce..2df639f143e8 100644 --- a/fs/nfs/dir.c +++ b/fs/nfs/dir.c @@ -939,6 +939,7 @@ static struct dentry *nfs_atomic_lookup(struct inode *dir, struct dentry *dentry error = nfs_revalidate_inode(NFS_SERVER(dir), dir); if (error < 0) { res = ERR_PTR(error); + unlock_kernel(); goto out; }