summaryrefslogtreecommitdiffstats
path: root/drivers/block/xen-blkback/blkback.c
diff options
context:
space:
mode:
authorKent Overstreet <kmo@daterainc.com>2014-02-11 02:45:50 +0100
committerJens Axboe <axboe@fb.com>2014-02-11 16:40:45 +0100
commit8423ae3d7a3cfe084865262cfaeba1359d405182 (patch)
treee8e6f9c31f5622e66ff176b600cf3b3c951eb4d8 /drivers/block/xen-blkback/blkback.c
parentMerge branch 'stable/for-jens-3.14' of git://git.kernel.org/pub/scm/linux/ker... (diff)
downloadlinux-8423ae3d7a3cfe084865262cfaeba1359d405182.tar.xz
linux-8423ae3d7a3cfe084865262cfaeba1359d405182.zip
block: Fix cloning of discard/write same bios
Immutable biovecs changed the way bio segments are treated in such a way that bio_for_each_segment() cannot now do what we want for discard/write same bios, since bi_size means something completely different for them. Fortunately discard and write same bios never have more than a single biovec, so bio_for_each_segment() is unnecessary and not terribly meaningful for them, but we still have to special case them in a few places. Signed-off-by: Kent Overstreet <kmo@daterainc.com> Tested-by: Richard W.M. Jones <rjones@redhat.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block/xen-blkback/blkback.c')
0 files changed, 0 insertions, 0 deletions