projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b09c9f
)
__io_setxattr(): constify path
author
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 4 Aug 2022 17:13:35 +0000
(13:13 -0400)
committer
Al 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
patch
|
blob
|
history
diff --git
a/io_uring/xattr.c
b/io_uring/xattr.c
index 84180afd090b743bcdb23ccd88450ea9aea226a6..99df641594d7455a704a8dea24d8bdbecdcda820 100644
(file)
--- 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;