summaryrefslogtreecommitdiffstats
path: root/io_uring
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2022-08-04 19:13:35 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2022-09-01 23:39:05 +0200
commite81f574da024f662cf39fc4ff60f464ec6364ac6 (patch)
tree87b6aa542744bf9e7687d2f2fe3118dd4967ff60 /io_uring
parentdo_proc_readlink(): constify path (diff)
downloadlinux-e81f574da024f662cf39fc4ff60f464ec6364ac6.tar.xz
linux-e81f574da024f662cf39fc4ff60f464ec6364ac6.zip
__io_setxattr(): constify path
Reviewed-by: Christian Brauner (Microsoft) <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'io_uring')
-rw-r--r--io_uring/xattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_uring/xattr.c b/io_uring/xattr.c
index 84180afd090b..99df641594d7 100644
--- a/io_uring/xattr.c
+++ b/io_uring/xattr.c
@@ -206,7 +206,7 @@ int io_fsetxattr_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)
}
static int __io_setxattr(struct io_kiocb *req, unsigned int issue_flags,
- struct path *path)
+ const struct path *path)
{
struct io_xattr *ix = io_kiocb_to_cmd(req, struct io_xattr);
int ret;