io_uring: add support for IORING_OP_SYMLINKAT
authorDmitry Kadashev <dkadashev@gmail.com>
Thu, 8 Jul 2021 06:34:46 +0000 (13:34 +0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 23 Aug 2021 19:48:33 +0000 (13:48 -0600)
commit7a8721f84fcb3b2946a92380b6fc311e017ff02c
tree37f17666ed6ea3b678f7777f1d5e5abe3998ef8e
parente34a02dc40c95d126bb6486dcf802bbb8d1624a0
io_uring: add support for IORING_OP_SYMLINKAT

IORING_OP_SYMLINKAT behaves like symlinkat(2) and takes the same flags
and arguments.

Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Suggested-by: Christian Brauner <christian.brauner@ubuntu.com>
Link: https://lore.kernel.org/io-uring/20210514145259.wtl4xcsp52woi6ab@wittgenstein/
Signed-off-by: Dmitry Kadashev <dkadashev@gmail.com>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Link: https://lore.kernel.org/r/20210708063447.3556403-11-dkadashev@gmail.com
[axboe: add splice_fd_in check]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/internal.h
fs/io_uring.c
fs/namei.c
include/uapi/linux/io_uring.h