]> git.baikalelectronics.ru Git - kernel.git/commit
take post-lookup part of do_last() out of loop
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 5 Mar 2020 16:41:29 +0000 (11:41 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 2 Apr 2020 05:09:28 +0000 (01:09 -0400)
commit9c320299368d668db10c6a8abd9f6d1f48f008f1
treeca99af95ce86268f890fb2a1b553d07dffa7a67c
parent04960b91d83afcca9373d7a67e05a53f45fdc981
take post-lookup part of do_last() out of loop

now we can have open_last_lookups() directly from the loop in
path_openat() - the rest of do_last() never returns a symlink
to follow, so we can bloody well leave the loop first.

Rename the rest of that thing from do_last() to do_open() and
make it return an int.

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