io_uring: don't clear req->kbuf when buffer selection is done
authorJens Axboe <axboe@kernel.dk>
Sun, 1 May 2022 18:31:56 +0000 (12:31 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 May 2022 12:29:06 +0000 (06:29 -0600)
commit7ccba24d3bc084d891def1a6fea504e4cb327a8c
tree0f8345528553d5b572b6f963d41d04fcd00479d1
parent1dbd023eb083249026d51f41cee48a7b199b3d4e
io_uring: don't clear req->kbuf when buffer selection is done

It's not needed as the REQ_F_BUFFER_SELECTED flag tracks the state of
whether or not kbuf is valid, so just drop it.

Suggested-by: Dylan Yudaken <dylany@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c