namei: Standardize callers of filename_create()
authorStephen Brennan <stephen.s.brennan@oracle.com>
Wed, 1 Sep 2021 17:51:43 +0000 (10:51 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 7 Sep 2021 20:11:01 +0000 (16:11 -0400)
commitb4a4f213a39d5e55baf38c96042acaeaf927ec74
treeee17de6c72cc70f458e12211b2409a0e8fe5b508
parent794ebcea865bff47231de89269e9d542121ab7be
namei: Standardize callers of filename_create()

filename_create() has two variants, one which drops the caller's
reference to filename (filename_create) and one which does
not (__filename_create). This can be confusing as it's unusual to drop a
caller's reference. Remove filename_create, rename __filename_create
to filename_create, and convert all callers.

Link: https://lore.kernel.org/linux-fsdevel/f6238254-35bd-7e97-5b27-21050c745874@oracle.com/
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Stephen Brennan <stephen.s.brennan@oracle.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c