diff options
| author | 2022-05-09 06:35:28 -0600 | |
|---|---|---|
| committer | 2022-05-09 06:35:28 -0600 | |
| commit | b5ba65df47cabcba6fe7a03f8f57513e9f78f72f (patch) | |
| tree | dc417a35c3f0865d2151d10951f1e3aee6926e03 /include/linux/io_uring.h | |
| parent | Merge branch 'for-5.19/io_uring' into for-5.19/io_uring-passthrough (diff) | |
| parent | io_uring: use the text representation of ops in trace (diff) | |
| download | linux-dev-b5ba65df47cabcba6fe7a03f8f57513e9f78f72f.tar.xz linux-dev-b5ba65df47cabcba6fe7a03f8f57513e9f78f72f.zip | |
Merge branch 'for-5.19/io_uring-socket' into for-5.19/io_uring-passthrough
* for-5.19/io_uring-socket:
io_uring: use the text representation of ops in trace
io_uring: rename op -> opcode
io_uring: add io_uring_get_opcode
io_uring: add type to op enum
io_uring: add socket(2) support
net: add __sys_socket_file()
io_uring: fix trace for reduced sqe padding
io_uring: add fgetxattr and getxattr support
io_uring: add fsetxattr and setxattr support
fs: split off do_getxattr from getxattr
fs: split off setxattr_copy and do_setxattr function from setxattr
Diffstat (limited to 'include/linux/io_uring.h')
| -rw-r--r-- | include/linux/io_uring.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/io_uring.h b/include/linux/io_uring.h index 1814e698d861..24651c229ed2 100644 --- a/include/linux/io_uring.h +++ b/include/linux/io_uring.h @@ -10,6 +10,7 @@ struct sock *io_uring_get_socket(struct file *file); void __io_uring_cancel(bool cancel_all); void __io_uring_free(struct task_struct *tsk); void io_uring_unreg_ringfd(void); +const char *io_uring_get_opcode(u8 opcode); static inline void io_uring_files_cancel(void) { @@ -42,6 +43,10 @@ static inline void io_uring_files_cancel(void) static inline void io_uring_free(struct task_struct *tsk) { } +static inline const char *io_uring_get_opcode(u8 opcode) +{ + return ""; +} #endif #endif |
