summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-thin.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2014-02-18 15:57:22 +0100
committerMike Snitzer <snitzer@redhat.com>2014-02-18 16:48:57 +0100
commitf3a44fe0608eb628e1f8f6e3540462e6d171a745 (patch)
tree6e9dae9298d355d238d8b95d9b756f431d6f830e /drivers/md/dm-thin.c
parentdm io: fix I/O to multiple destinations (diff)
downloadlinux-f3a44fe0608eb628e1f8f6e3540462e6d171a745.tar.xz
linux-f3a44fe0608eb628e1f8f6e3540462e6d171a745.zip
dm raid1: fix immutable biovec related BUG when retrying read bio
When restoring bi_end_io, increase bi_remaining before retrying the bio to avoid BUG_ON(atomic_read(&bio->bi_remaining) <= 0) in bio_endio(). Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-thin.c')
0 files changed, 0 insertions, 0 deletions