do_last(): merge the may_open() calls
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 26 Jan 2020 15:06:13 +0000 (10:06 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 14 Mar 2020 01:09:12 +0000 (21:09 -0400)
commit3ad5615a071f7c1c41b2e23b9ffde73b09499eb0
treedb900952b30b92270b9eced6a7ee3d3e787023a5
parent7be219b4dcd9c698a120726e48a52b96f554fd2c
do_last(): merge the may_open() calls

have FMODE_OPENED case rejoin the main path at earlier point

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