summaryrefslogtreecommitdiff
path: root/fs/fsopen.c
diff options
context:
space:
mode:
authorMateusz Guzik <mjguzik@gmail.com>2024-06-04 17:52:56 +0200
committerChristian Brauner <brauner@kernel.org>2024-06-05 17:03:57 +0200
commitdff60734fc7606fabde668ab6a26feacec8787cc (patch)
tree64a63f7d34ff771da6932a4aac3603b71cb0eca2 /fs/fsopen.c
parent969ce92da3112e05d1a70c344f8740a85e933f2e (diff)
vfs: retire user_path_at_empty and drop empty arg from getname_flags
No users after do_readlinkat started doing the job on its own. Signed-off-by: Mateusz Guzik <mjguzik@gmail.com> Link: https://lore.kernel.org/r/20240604155257.109500-3-mjguzik@gmail.com Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/fsopen.c')
-rw-r--r--fs/fsopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fsopen.c b/fs/fsopen.c
index 18fe979da7e2..ed2dd000622e 100644
--- a/fs/fsopen.c
+++ b/fs/fsopen.c
@@ -448,7 +448,7 @@ SYSCALL_DEFINE5(fsconfig,
fallthrough;
case FSCONFIG_SET_PATH:
param.type = fs_value_is_filename;
- param.name = getname_flags(_value, lookup_flags, NULL);
+ param.name = getname_flags(_value, lookup_flags);
if (IS_ERR(param.name)) {
ret = PTR_ERR(param.name);
goto out_key;