io_uring: remove duplicated calls to io_kiocb_ppos
commit af9c45ec upstream. io_kiocb_ppos is called in both branches, and it seems that the compiler does not fuse this. Fusing removes a few bytes from loop_rw_iter. Before: $ nm -S fs/io_uring.o | grep loop_rw_iter 0000000000002430 0000000000000124 t loop_rw_iter After: $ nm -S fs/io_uring.o | grep loop_rw_iter 0000000000002430 000000000000010d t loop_rw_iter Signed-off-by:Dylan Yudaken <dylany@fb.com> Reviewed-by:
Pavel Begunkov <asml.silence@gmail.com> Signed-off-by:
Jens Axboe <axboe@kernel.dk> Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
-
mentioned in commit 1447d9bc
-
mentioned in commit 35a7cb40
-
mentioned in commit 5fb3baa2
-
mentioned in commit eef5595a
-
mentioned in commit c984cec3
-
mentioned in commit 6c93223d
-
mentioned in commit b5797655
-
mentioned in commit b0b3d93a
-
mentioned in commit 51556245
-
mentioned in commit 51556245
Please sign in to comment