]> git.baikalelectronics.ru Git - kernel.git/commit
do_last: unify may_open() call and everyting after it
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 9 Mar 2011 05:36:45 +0000 (00:36 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 14 Mar 2011 13:15:27 +0000 (09:15 -0400)
commit043cfcf53faaa17a0d3cca253dccf5f62368476d
tree2ff61ce7ff0595b3200fa2d9b69e93a87e6c8427
parent8638e269a2193362f36dfc7f6b3b26633d0ae4da
do_last: unify may_open() call and everyting after it

We have a bunch of diverging codepaths in do_last(); some of
them converge, but the case of having to create a new file
duplicates large part of common tail of the rest and exits
separately.  Massage them so that they could be merged.

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