Skip to content
Snippets Groups Projects
Commit cf8c0c6a authored by Ming Lei's avatar Ming Lei Committed by Jens Axboe
Browse files

block: blk-merge: remove unnecessary check


In this case, 'sectors' can't be zero at all, so remove the check
and let the bio be split.

Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarMing Lei <ming.lei@redhat.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent a2d37968
No related branches found
No related tags found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment