diff options
author | Alexander Mikhalitsyn <[email protected]> | 2024-01-29 19:00:24 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-02-06 19:55:14 -0700 |
commit | 5492a490e64ed47483a0b28f10ba07eef4a47edb (patch) | |
tree | 6d79d3e64770751a71d4874100314a4f96525c90 | |
parent | 54be6c6c5ae8e0d93a6c4641cb7528eb0b6ba478 (diff) |
io_uring: use file_mnt_idmap helper
Let's use file_mnt_idmap() as we do that across the tree.
No functional impact.
Cc: Christian Brauner <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Pavel Begunkov <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Alexander Mikhalitsyn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
-rw-r--r-- | io_uring/xattr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_uring/xattr.c b/io_uring/xattr.c index e1c810e0b85a..44905b82eea8 100644 --- a/io_uring/xattr.c +++ b/io_uring/xattr.c @@ -112,7 +112,7 @@ int io_fgetxattr(struct io_kiocb *req, unsigned int issue_flags) WARN_ON_ONCE(issue_flags & IO_URING_F_NONBLOCK); - ret = do_getxattr(mnt_idmap(req->file->f_path.mnt), + ret = do_getxattr(file_mnt_idmap(req->file), req->file->f_path.dentry, &ix->ctx); |