diff options
author | Ming Lei <[email protected]> | 2015-11-30 16:05:49 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2015-11-30 13:02:36 -0700 |
commit | a88d32af18b8a6616128c971f766eaf545966405 (patch) | |
tree | 3cfc7528e641317aa7a56f82af569b03015ccdd1 /lib/netdev-notifier-error-inject.c | |
parent | 74cedf9b6c603f2278a05bc91b140b32b434d0b5 (diff) |
blk-merge: fix computing bio->bi_seg_front_size in case of single segment
When bio has only one physical segment, we should set bio's
bi_seg_front_size as the real(final) size of the single segment.
Fixes: 02e707424c2ea(blk-merge: fix blk_bio_segment_split)
Reported-by: Markus Trippelsdorf <[email protected]>
Tested-by: Markus Trippelsdorf <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions