]> 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)
commitdd95065ac6bf03302f668b6531584f928017ef07
treef12b890649eabda7eb24b52f20ead7184ff045c8
parentcd4542281b39ecb6e0520ddcdf46f6a9c501ae8b
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