]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
blk-integrity: take const pointer in blk_integrity_rq()
authorCaleb Sander Mateos <csander@purestorage.com>
Thu, 8 Jan 2026 09:19:29 +0000 (02:19 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 12 Jan 2026 16:15:05 +0000 (09:15 -0700)
commit835042fb1971b1cc6acb46d53b8862643fd7d0a8
tree02eb6d9ec20814106685ec52b336d05f5fef8702
parent5df832ba5f9ddc498e424ba859cb6ab7611b0384
blk-integrity: take const pointer in blk_integrity_rq()

blk_integrity_rq() doesn't modify the struct request passed in, so allow
a const pointer to be passed. Use a matching signature for the
!CONFIG_BLK_DEV_INTEGRITY version.

Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blk-integrity.h