io_uring: add helper for fixed-buffer uring-cmd
authorKanchan Joshi <joshi.k@samsung.com>
Thu, 5 Aug 2021 12:55:37 +0000 (18:25 +0530)
committerJens Axboe <axboe@kernel.dk>
Tue, 21 Sep 2021 18:38:40 +0000 (12:38 -0600)
commit069d94370113e6543d01ae4af5646cdabc0c5a02
treeca2babc295a68c7d16864726c0a55f0a71a253ca
parentd899fcbc22b40b27cc2f211e5aff082ef7764b12
io_uring: add helper for fixed-buffer uring-cmd

Refactor the existing code and factor out helper that can be used
for passthrough with fixed-buffer. This is a prep patch.

Signed-off-by: Kanchan Joshi <joshi.k@samsung.com>
Signed-off-by: Anuj Gupta <anuj20.g@samsung.com>
Link: https://lore.kernel.org/r/20210805125539.66958-5-joshi.k@samsung.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c
include/linux/io_uring.h