Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 01c314a0 authored by Steve Dickson's avatar Steve Dickson Committed by Linus Torvalds
Browse files

[PATCH] NFSv4: unbalanced BKL in nfs_atomic_lookup()



Added missing unlock_kernel() to NFSv4 atomic lookup.

Signed-off-by: default avatarSteve Dickson <steved@redhat.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent cd3716ab
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
	}