]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3713c6987c065c96ad89aec556b97f9d9797eba5
tree7ddfc09b76beabfd7f69b6da7b60a65cbfe9c8d6
parentcdea2c8a0c3173d277de55ecd5a0223d1e2dd684
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