]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
block: Fix front merge check
authorDamien Le Moal <damien.lemoal@hgst.com>
Thu, 21 Jul 2016 03:40:47 +0000 (21:40 -0600)
committerJens Axboe <axboe@fb.com>
Thu, 21 Jul 2016 03:40:47 +0000 (21:40 -0600)
For a front merge, the maximum number of sectors of the
request must be checked against the front merge BIO sector,
not the current sector of the request.

Signed-off-by: Damien Le Moal <damien.lemoal@hgst.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>

No differences found