dect
/
linux-2.6
Archived
13
0
Fork 0

vfs: do_last(): make exit RCU safe

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>
This commit is contained in:
Miklos Szeredi 2012-05-21 17:30:06 +02:00 committed by Al Viro
parent 697f514df1
commit e276ae672f
1 changed files with 1 additions and 1 deletions

View File

@ -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: