summaryrefslogtreecommitdiff
path: root/include/linux/io_uring/cmd.h
diff options
context:
space:
mode:
authorCaleb Sander Mateos <csander@purestorage.com>2025-03-01 01:30:56 +0300
committerJens Axboe <axboe@kernel.dk>2025-03-01 05:11:55 +0300
commit2fced37638a897be4e0ac724d93a23a4e38633a6 (patch)
tree9e4038a452cd200da3eaa29761ab80642c70740a /include/linux/io_uring/cmd.h
parentbedc9cbc5f9709b97646fe3423dbf530b74b09d5 (diff)
downloadlinux-2fced37638a897be4e0ac724d93a23a4e38633a6.tar.xz
io_uring/rsrc: use rq_data_dir() to compute bvec dir
The macro rq_data_dir() already computes a request's data direction. Use it in place of the if-else to set imu->dir. Signed-off-by: Caleb Sander Mateos <csander@purestorage.com> Link: https://lore.kernel.org/r/20250228223057.615284-1-csander@purestorage.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/io_uring/cmd.h')
0 files changed, 0 insertions, 0 deletions