io_uring: abstract out provided buffer list selection
authorJens Axboe <axboe@kernel.dk>
Sat, 30 Apr 2022 18:22:02 +0000 (12:22 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 May 2022 12:29:06 +0000 (06:29 -0600)
commit149c69b04a901c8b611b643af8f4dd6b104e7379
treeee973a17c702bbfc41268128c93abb7069cc8378
parentb66e65f41426ec82b92ad4d9a752802bf9e2e383
io_uring: abstract out provided buffer list selection

In preparation for providing another way to select a buffer, move the
existing logic into a helper.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c