From e81f574da024f662cf39fc4ff60f464ec6364ac6 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Thu, 4 Aug 2022 13:13:35 -0400 Subject: __io_setxattr(): constify path Reviewed-by: Christian Brauner (Microsoft) Signed-off-by: Al Viro --- io_uring/xattr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'io_uring/xattr.c') 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; -- cgit v1.2.3