aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorStefan Roesch <shr@fb.com>2022-03-23 08:44:20 -0700
committerJens Axboe <axboe@kernel.dk>2022-04-24 18:18:38 -0600
commita56834e0fafe0adf7f22a28a5dbec3e8c3031a0e (patch)
treeb1969807c6bea650afc544cd7e593b41e8d794c5 /include/uapi/linux
parentio_uring: add fsetxattr and setxattr support (diff)
downloadlinux-dev-a56834e0fafe0adf7f22a28a5dbec3e8c3031a0e.tar.xz
linux-dev-a56834e0fafe0adf7f22a28a5dbec3e8c3031a0e.zip
io_uring: add fgetxattr and getxattr support
This adds support to io_uring for the fgetxattr and getxattr API. Signed-off-by: Stefan Roesch <shr@fb.com> Acked-by: Christian Brauner <brauner@kernel.org> Link: https://lore.kernel.org/r/20220323154420.3301504-5-shr@fb.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/io_uring.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/io_uring.h b/include/uapi/linux/io_uring.h
index 864bd6a4d4ff..8ca1d9ae56d6 100644
--- a/include/uapi/linux/io_uring.h
+++ b/include/uapi/linux/io_uring.h
@@ -149,6 +149,8 @@ enum {
IORING_OP_MSG_RING,
IORING_OP_FSETXATTR,
IORING_OP_SETXATTR,
+ IORING_OP_FGETXATTR,
+ IORING_OP_GETXATTR,
/* this goes last, obviously */
IORING_OP_LAST,