diff options
author | Ming Lei <ming.lei@redhat.com> | 2017-12-18 15:22:16 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-01-06 19:18:00 +0300 |
commit | cf8c0c6a3830583bd0e7c94933e155bf97cd162b (patch) | |
tree | 735b2032c497a0c5e539a64302c2c4396d22de42 /fs/read_write.c | |
parent | a2d37968d784363842f87820a21e106741d28004 (diff) | |
download | linux-cf8c0c6a3830583bd0e7c94933e155bf97cd162b.tar.xz |
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: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions