]> www.infradead.org Git - users/dwmw2/linux.git/commit
block: return bool from blk_rq_aligned
authorChristoph Hellwig <hch@lst.de>
Tue, 19 Nov 2024 16:09:21 +0000 (17:09 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 20 Nov 2024 02:07:13 +0000 (19:07 -0700)
commitda77d9b23700708d0d22a4407d32a8755a3596e8
treeae2df71a23027454d26257631d79e818f79db716
parente769489a54401d0c89555f7ad8672038b5c2b767
block: return bool from blk_rq_aligned

blk_rq_aligned returns a boolean condition, don't mascquerade it as int.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20241119160932.1327864-5-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blkdev.h