]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6132f3efe7f3d14c1c0eae4b74820ed5c724b446
tree9b0a4527b5326297de13937d6b71c95122ea8964
parent6df6f035b9c503f8b19ca5a29f2fcdcf0e45b476
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