projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
697f514
)
vfs: do_last(): make exit RCU safe
author
Miklos Szeredi
<mszeredi@suse.cz>
Mon, 21 May 2012 15:30:06 +0000
(17:30 +0200)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 1 Jun 2012 16:11:57 +0000
(12:11 -0400)
Allow returning from do_last() with LOOKUP_RCU still set on the "out:" and
"exit:" labels.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/namei.c
b/fs/namei.c
index 7f4ab820811a0992a34332542146fc8cf718d06c..edc18cd63a88841c8cd494242102cf2f0ce8affb 100644
(file)
--- a/
fs/namei.c
+++ b/
fs/namei.c
@@
-2383,7
+2383,7
@@
common:
out:
if (want_write)
mnt_drop_write(nd->path.mnt);
-
path_put(&nd->path
);
+
terminate_walk(nd
);
return filp;
exit_mutex_unlock: