diff options
Diffstat (limited to 'drivers/md/dm-snap.c')
-rw-r--r-- | drivers/md/dm-snap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-snap.c b/drivers/md/dm-snap.c index 83ddbfe6b8a4..98a633f3d6b0 100644 --- a/drivers/md/dm-snap.c +++ b/drivers/md/dm-snap.c | |||
@@ -636,7 +636,7 @@ static void error_bios(struct bio *bio) | |||
636 | while (bio) { | 636 | while (bio) { |
637 | n = bio->bi_next; | 637 | n = bio->bi_next; |
638 | bio->bi_next = NULL; | 638 | bio->bi_next = NULL; |
639 | bio_io_error(bio, bio->bi_size); | 639 | bio_io_error(bio); |
640 | bio = n; | 640 | bio = n; |
641 | } | 641 | } |
642 | } | 642 | } |