aboutsummaryrefslogtreecommitdiffstats
path: root/io_uring/statx.c
diff options
context:
space:
mode:
authorMateusz Guzik <[email protected]>2024-06-04 15:52:56 +0000
committerChristian Brauner <[email protected]>2024-06-05 15:03:57 +0000
commitdff60734fc7606fabde668ab6a26feacec8787cc (patch)
tree64a63f7d34ff771da6932a4aac3603b71cb0eca2 /io_uring/statx.c
parentvfs: stop using user_path_at_empty in do_readlinkat (diff)
downloadkernel-dff60734fc7606fabde668ab6a26feacec8787cc.tar.gz
kernel-dff60734fc7606fabde668ab6a26feacec8787cc.zip
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Jan Kara <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'io_uring/statx.c')
-rw-r--r--io_uring/statx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/io_uring/statx.c b/io_uring/statx.c
index abb874209caa..f7f9b202eec0 100644
--- a/io_uring/statx.c
+++ b/io_uring/statx.c
@@ -37,8 +37,7 @@ int io_statx_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)
sx->flags = READ_ONCE(sqe->statx_flags);
sx->filename = getname_flags(path,
- getname_statx_lookup_flags(sx->flags),
- NULL);
+ getname_statx_lookup_flags(sx->flags));
if (IS_ERR(sx->filename)) {
int ret = PTR_ERR(sx->filename);