]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: don't use kiocb.private to store buf_index
authorBijan Mottahedeh <bijan.mottahedeh@oracle.com>
Tue, 19 May 2020 21:52:49 +0000 (14:52 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 19 May 2020 22:19:49 +0000 (16:19 -0600)
commit52802a0f2f960b4b7035d11acd12fb2fd7520546
treef12b890649eabda7eb24b52f20ead7184ff045c8
parent8a80eddcec0f7b6e1bc7ca7945cdeae9d35f31b4
io_uring: don't use kiocb.private to store buf_index

kiocb.private is used in iomap_dio_rw() so store buf_index separately.

Signed-off-by: Bijan Mottahedeh <bijan.mottahedeh@oracle.com>
Move 'buf_index' to a hole in io_kiocb.

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