diff options
author | Mike Snitzer <snitzer@redhat.com> | 2019-01-16 18:53:26 -0500 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2019-01-21 11:29:18 -0500 |
commit | 57c36519e4b949f89381053f7283f5d605595b42 (patch) | |
tree | e2422cb8eae102acf99b4a0460e716bb6bcf002e /drivers/fpga/fpga-bridge.c | |
parent | d445bd9cec1a850c2100fcf53684c13b3fd934f2 (diff) |
dm: fix clone_bio() to trigger blk_recount_segments()
DM's clone_bio() now benefits from using bio_trim() by fixing the fact
that clone_bio() wasn't clearing BIO_SEG_VALID like bio_trim() does;
which triggers blk_recount_segments() via bio_phys_segments().
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions