]> www.infradead.org Git - users/dwmw2/linux.git/commit
block: don't bother checking the data direction for merges
authorChristoph Hellwig <hch@lst.de>
Tue, 19 Nov 2024 16:11:50 +0000 (17:11 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 20 Nov 2024 02:06:57 +0000 (19:06 -0700)
commit9f8d68283342a48f692f2c02231318bb4a7b207f
treea600f87a1d63fa2553b41e19a8689b82de677499
parentdcbb598e689e30d4636201d35582e167d1b8dfa4
block: don't bother checking the data direction for merges

Because it already is encoded in the opcode.

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/20241119161157.1328171-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-merge.c