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)
commit4f4eeba87cc731b200bff9372d14a80f5996b277
treef12b890649eabda7eb24b52f20ead7184ff045c8
parente3aabf9554fd04eb14cd44ae7583fc9d40edd250
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