]> 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)
commit9d5426ca776c01ad802591fcdd17b71d37835e88
treeca99af95ce86268f890fb2a1b553d07dffa7a67c
parentb10e4b8040b165e6decf657830fd7e31c69e8033
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