]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3d22db8549640996806e38959e860da9966c13ff
treeb8a6a5eb446d22604d362b7b718c2ff52c7812de
parent9ffe45359544b3eb27cf44c4f0bfc7391436e4dd
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