summaryrefslogtreecommitdiffstats
path: root/fs/nfs/dir.c
diff options
context:
space:
mode:
authorSteve Dickson <SteveD@redhat.com>2005-08-19 17:57:48 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-08-19 18:44:56 -0700
commit01c314a0c0f6367960a7cb1ffb5796560ccaa1c1 (patch)
treeae3c0190efa548d47e80e7225a8e8da0b2990317 /fs/nfs/dir.c
parentcd3716ab40c6049479d29a74b29107fd7e0e1153 (diff)
downloadlinux-01c314a0c0f6367960a7cb1ffb5796560ccaa1c1.tar.gz
linux-01c314a0c0f6367960a7cb1ffb5796560ccaa1c1.tar.bz2
linux-01c314a0c0f6367960a7cb1ffb5796560ccaa1c1.zip
[PATCH] NFSv4: unbalanced BKL in nfs_atomic_lookup()
Added missing unlock_kernel() to NFSv4 atomic lookup. Signed-off-by: Steve Dickson <steved@redhat.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/nfs/dir.c')
-rw-r--r--fs/nfs/dir.c1
1 files changed, 1 insertions, 0 deletions
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;
}