vfs: do_last(): separate O_CREAT specific code
authorMiklos Szeredi <mszeredi@suse.cz>
Tue, 5 Jun 2012 13:10:13 +0000 (15:10 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 14 Jul 2012 12:32:59 +0000 (16:32 +0400)
commitb6183df7b294997a748eeb9991daa126986ead12
tree7ddfc09b76beabfd7f69b6da7b60a65cbfe9c8d6
parent37d7fffc9cafe75ded8a840fa30ba625f99ed7ae
vfs: do_last(): separate O_CREAT specific code

Check O_CREAT on the slow lookup paths where necessary.  This allows the rest to
be shared with plain open.

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