OSDN Git Service

atomic_open(): lift the call of may_open() into do_last()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 26 Jan 2020 15:02:29 +0000 (10:02 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 14 Mar 2020 01:09:12 +0000 (21:09 -0400)
commit7be219b4dcd9c698a120726e48a52b96f554fd2c
tree9b0a4527b5326297de13937d6b71c95122ea8964
parent6fb968cdf9d0bd66742ac73f3db268dcb0278ada
atomic_open(): lift the call of may_open() into do_last()

there we'll be able to merge it with its counterparts in other
cases, and there's no reason to do it before the parent has
been unlocked

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