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)
commitce8644fcadc52da72e19ae9f0866fb3eb15d3df4
tree5ebc6bbfa3e827378f0b771f713f0a87bd8b76e4
parent6ac087099edf09ca357e2f765e3e24677543897c
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