do_dentry_open(): close the race with mark_files_ro() in failure exit
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 23 Jun 2012 18:49:45 +0000 (22:49 +0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 14 Jul 2012 12:35:50 +0000 (16:35 +0400)
commitc3c4f69424db0760239762d36d0b1b6ae524008b
treeb8a6a5eb446d22604d362b7b718c2ff52c7812de
parent85d7d618c17a09cfd824c1ad4483c19e6f9637ff
do_dentry_open(): close the race with mark_files_ro() in failure exit

we want to take it out of mark_files_ro() reach *before* we start
checking if we ought to drop write access.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/open.c