]> git.itanic.dy.fi Git - linux-stable/commit
block: remove two comments in bio_split_discard
authorChristoph Hellwig <hch@lst.de>
Thu, 28 Dec 2023 07:55:37 +0000 (07:55 +0000)
committerJens Axboe <axboe@kernel.dk>
Fri, 29 Dec 2023 15:44:12 +0000 (08:44 -0700)
commit928a5dd3a849dc6d8298835bdcb25c360d41bccb
treec2b1e43c17e9a4071685d116d567a7bd105e90b6
parentd6b9f4e6f7fb589d8024a31cc4883d15d0c8def4
block: remove two comments in bio_split_discard

A zero discard_granularity is not treated the same as a single-block one,
and not having any segments after taking alignment is perfectly fine
and does not need a warning.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20231228075545.362768-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-merge.c