]> git.ipfire.org Git - thirdparty/linux.git/commit
io_uring/rw: drop unused attr_type_mask from io_prep_rw_pi()
authorYang Xiuwei <yangxiuwei@kylinos.cn>
Wed, 13 May 2026 09:43:03 +0000 (17:43 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 13 May 2026 12:35:57 +0000 (06:35 -0600)
commit5f7c7c63ffb1a187eb90c80864469db45f3bd2a8
treeaeacabd22c708fa94e0326fd0eb86bcaf8cbc60e
parenta65855ec34aed84e1e5b4aea0323cc1745f83a5c
io_uring/rw: drop unused attr_type_mask from io_prep_rw_pi()

io_prep_rw_pi() never used the attr_type_mask argument. Callers already
validate sqe->attr_type_mask before invoking the helper (only
IORING_RW_ATTR_FLAG_PI is supported today). Remove the dead parameter to
avoid implying further interpretation happens here.

Signed-off-by: Yang Xiuwei <yangxiuwei@kylinos.cn>
Link: https://patch.msgid.link/20260513094303.866533-1-yangxiuwei@kylinos.cn
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/rw.c