diff options
author | Jens Axboe <axboe@kernel.dk> | 2022-05-24 19:46:43 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-07-25 02:39:11 +0200 |
commit | 5e2a18d93fec514fc74f58a6061b74a79764af69 (patch) | |
tree | 79c293224f8a21f462a89336458215f355aeb7dc /io_uring/xattr.h | |
parent | io_uring: handle completions in the core (diff) | |
download | linux-5e2a18d93fec514fc74f58a6061b74a79764af69.tar.xz linux-5e2a18d93fec514fc74f58a6061b74a79764af69.zip |
io_uring: move xattr related opcodes to its own file
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/xattr.h')
-rw-r--r-- | io_uring/xattr.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/io_uring/xattr.h b/io_uring/xattr.h new file mode 100644 index 000000000000..9b459d2ae90c --- /dev/null +++ b/io_uring/xattr.h @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0 + +void io_xattr_cleanup(struct io_kiocb *req); + +int io_fsetxattr_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); +int io_fsetxattr(struct io_kiocb *req, unsigned int issue_flags); + +int io_setxattr_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); +int io_setxattr(struct io_kiocb *req, unsigned int issue_flags); + +int io_fgetxattr_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); +int io_fgetxattr(struct io_kiocb *req, unsigned int issue_flags); + +int io_getxattr_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); +int io_getxattr(struct io_kiocb *req, unsigned int issue_flags); |