io_uring: remove duplicated io_size from rw
authorPavel Begunkov <asml.silence@gmail.com>
Sat, 7 Nov 2020 13:16:26 +0000 (13:16 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Sep 2021 11:40:35 +0000 (13:40 +0200)
commit9a4e7f9038660b7fd41280f9d97e6c722804bd1d
tree79296f6dda688b2ed2acf3e47dd135c798f5e917
parent6930a2a5be5cbb0c202fcfa2773c95bd10a19197
io_uring: remove duplicated io_size from rw

[ Upstream commit 632546c4b5a4dad8e3ac456406c65c0db9a0b570 ]

io_size and iov_count in io_read() and io_write() hold the same value,
kill the last one.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/io_uring.c