Pull io_uring mkdirat/symlinkat/linkat support from Jens Axboe: "This adds io_uring support for mkdirat, symlinkat, and linkat" * tag 'for-5.15/io_uring-vfs-2021-08-30' of git://git.kernel.dk/linux-block: io_uring: add support for IORING_OP_LINKAT io_uring: add support for IORING_OP_SYMLINKAT io_uring: add support for IORING_OP_MKDIRAT namei: update do_*() helpers to return ints namei: make do_linkat() take struct filename namei: add getname_uflags() namei: make do_symlinkat() take struct filename namei: make do_mknodat() take struct filename namei: make do_mkdirat() take struct filename namei: change filename_parentat() calling conventions namei: ignore ERR/NULL names in putname()
Showing the changes to include/uapi/linux (1 of 6 files). Show all
Unified · Split
| @@ -44,6 +44,7 @@ struct io_uring_sqe { · 43 unmodified lines | |||
| 44 | __u32 splice_flags; | 44 | __u32 splice_flags; |
| 45 | __u32 rename_flags; | 45 | __u32 rename_flags; |
| 46 | __u32 unlink_flags; | 46 | __u32 unlink_flags; |
| 47 | __u32 hardlink_flags; | ||
| 47 | }; | 48 | }; |
| 48 | __u64 user_data; /* data to be passed back at completion time */ | 49 | __u64 user_data; /* data to be passed back at completion time */ |
| 49 | /* pack this to avoid bogus arm OABI complaints */ | 50 | /* pack this to avoid bogus arm OABI complaints */ |
| @@ -136,6 +137,9 @@ enum { · 86 unmodified lines | |||
| 136 | IORING_OP_SHUTDOWN, | 137 | IORING_OP_SHUTDOWN, |
| 137 | IORING_OP_RENAMEAT, | 138 | IORING_OP_RENAMEAT, |
| 138 | IORING_OP_UNLINKAT, | 139 | IORING_OP_UNLINKAT, |
| 140 | IORING_OP_MKDIRAT, | ||
| 141 | IORING_OP_SYMLINKAT, | ||
| 142 | IORING_OP_LINKAT, | ||
| 139 | 143 | ||
| 140 | /* this goes last, obviously */ | 144 | /* this goes last, obviously */ |
| 141 | IORING_OP_LAST, | 145 | IORING_OP_LAST, |