summaryrefslogtreecommitdiff
path: root/io_uring/statx.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-05-25 15:12:18 +0300
committerJens Axboe <axboe@kernel.dk>2022-07-25 03:39:11 +0300
commite0da14def1ee0a9cd9c88893321e9a3d900f8e23 (patch)
tree319b5838f10d19c9621d4de0b5f25053112d56f1 /io_uring/statx.h
parenta9c210cebe13c36487a239ae7f4671a389fed127 (diff)
downloadlinux-e0da14def1ee0a9cd9c88893321e9a3d900f8e23.tar.xz
io_uring: move statx handling to its own file
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/statx.h')
-rw-r--r--io_uring/statx.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/io_uring/statx.h b/io_uring/statx.h
new file mode 100644
index 000000000000..9a17f4d45a7d
--- /dev/null
+++ b/io_uring/statx.h
@@ -0,0 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
+int io_statx_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
+int io_statx(struct io_kiocb *req, unsigned int issue_flags);
+void io_statx_cleanup(struct io_kiocb *req);