projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd3716a
)
[PATCH] NFSv4: unbalanced BKL in nfs_atomic_lookup()
author
Steve Dickson
<SteveD@redhat.com>
Sat, 20 Aug 2005 00:57:48 +0000
(17:57 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sat, 20 Aug 2005 01:44:56 +0000
(18:44 -0700)
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>
fs/nfs/dir.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/dir.c
b/fs/nfs/dir.c
index 147cbf9261cedba976acade07391e43d4af19eb3..2df639f143e8065cdd647044a4283e28fe89d092 100644
(file)
--- 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;
}