]> git.baikalelectronics.ru Git - kernel.git/commit
lookup_open(): expand the call of vfs_create()
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 Apr 2016 18:17:56 +0000 (14:17 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 2 May 2016 23:49:33 +0000 (19:49 -0400)
commit445a313478c1be8ce959589949034183fb1bafed
tree5ebc6bbfa3e827378f0b771f713f0a87bd8b76e4
parent62977617725bf408b8c3b7bc6d16b06e05cf3260
lookup_open(): expand the call of vfs_create()

Lift IS_DEADDIR handling up into the part common with atomic_open(),
remove it from the latter.  Collapse permission checks into the
call of may_o_create(), getting it closer to atomic_open() case.

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