| From: |
| Dmitry Kadashev <dkadashev-AT-gmail.com> |
| To: |
| io-uring-AT-vger.kernel.org |
| Subject: |
| [PATCH 0/2] io_uring: add mkdirat support |
| Date: |
| Wed, 11 Nov 2020 20:25:49 +0700 |
| Message-ID: |
| <20201111132551.3536296-1-dkadashev@gmail.com> |
| Cc: |
| axboe-AT-kernel.dk, Dmitry Kadashev <dkadashev-AT-gmail.com> |
| Archive-link: |
| Article |
This adds mkdirat support to io_uring and is heavily based on recently
added renameat() / unlinkat() support.
The first patch is preparation with no functional changes, makes
do_mkdirat accept struct filename pointer rather than the user string.
The second one leverages that to implement mkdirat in io_uring.
Based on for-5.11/io_uring.
Dmitry Kadashev (2):
fs: make do_mkdirat() take struct filename
io_uring: add support for IORING_OP_MKDIRAT
fs/internal.h | 1 +
fs/io_uring.c | 58 +++++++++++++++++++++++++++++++++++
fs/namei.c | 20 ++++++++----
include/uapi/linux/io_uring.h | 1 +
4 files changed, 74 insertions(+), 6 deletions(-)
--
2.28.0