[git pull] namei fixes

From: Al Viro
Date: Sun Sep 12 2021 - 10:12:41 EST


Clearing fallout from mkdirat in io_uring series. The fix in
the kern_path_locked() patch plus associated cleanups.

The following changes since commit 4b93c544e90e2b28326182d31ee008eb80e02074:

thunderbolt: test: split up test cases in tb_test_credit_alloc_all (2021-09-06 12:27:03 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git misc.namei

for you to fetch changes up to ea47ab111669b187808b3080602788dec26cb9bc:

putname(): IS_ERR_OR_NULL() is wrong here (2021-09-07 16:14:05 -0400)

----------------------------------------------------------------
Al Viro (2):
rename __filename_parentat() to filename_parentat()
putname(): IS_ERR_OR_NULL() is wrong here

Stephen Brennan (3):
namei: Fix use after free in kern_path_locked
namei: Standardize callers of filename_lookup()
namei: Standardize callers of filename_create()

fs/fs_parser.c | 1 -
fs/namei.c | 116 ++++++++++++++++++++++++++++-----------------------------
2 files changed, 58 insertions(+), 59 deletions(-)