__io_setxattr(): constify path
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 4 Aug 2022 17:13:35 +0000 (13:13 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 1 Sep 2022 21:39:05 +0000 (17:39 -0400)
Reviewed-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
io_uring/xattr.c

index 84180afd090b743bcdb23ccd88450ea9aea226a6..99df641594d7455a704a8dea24d8bdbecdcda820 100644 (file)
@@ -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;