aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid10.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/raid10.c')
-rw-r--r--drivers/md/raid10.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/md/raid10.c b/drivers/md/raid10.c
index 6709cb255200..d54122b9927e 100644
--- a/drivers/md/raid10.c
+++ b/drivers/md/raid10.c
@@ -1557,7 +1557,7 @@ static void fix_read_error(conf_t *conf, mddev_t *mddev, r10bio_t *r10_bio)
1557 test_bit(In_sync, &rdev->flags)) { 1557 test_bit(In_sync, &rdev->flags)) {
1558 atomic_inc(&rdev->nr_pending); 1558 atomic_inc(&rdev->nr_pending);
1559 rcu_read_unlock(); 1559 rcu_read_unlock();
1560 success = sync_page_io(rdev->bdev, 1560 success = sync_page_io(rdev,
1561 r10_bio->devs[sl].addr + 1561 r10_bio->devs[sl].addr +
1562 sect + rdev->data_offset, 1562 sect + rdev->data_offset,
1563 s<<9, 1563 s<<9,
@@ -1596,7 +1596,7 @@ static void fix_read_error(conf_t *conf, mddev_t *mddev, r10bio_t *r10_bio)
1596 atomic_inc(&rdev->nr_pending); 1596 atomic_inc(&rdev->nr_pending);
1597 rcu_read_unlock(); 1597 rcu_read_unlock();
1598 atomic_add(s, &rdev->corrected_errors); 1598 atomic_add(s, &rdev->corrected_errors);
1599 if (sync_page_io(rdev->bdev, 1599 if (sync_page_io(rdev,
1600 r10_bio->devs[sl].addr + 1600 r10_bio->devs[sl].addr +
1601 sect + rdev->data_offset, 1601 sect + rdev->data_offset,
1602 s<<9, conf->tmppage, WRITE) 1602 s<<9, conf->tmppage, WRITE)
@@ -1633,7 +1633,7 @@ static void fix_read_error(conf_t *conf, mddev_t *mddev, r10bio_t *r10_bio)
1633 char b[BDEVNAME_SIZE]; 1633 char b[BDEVNAME_SIZE];
1634 atomic_inc(&rdev->nr_pending); 1634 atomic_inc(&rdev->nr_pending);
1635 rcu_read_unlock(); 1635 rcu_read_unlock();
1636 if (sync_page_io(rdev->bdev, 1636 if (sync_page_io(rdev,
1637 r10_bio->devs[sl].addr + 1637 r10_bio->devs[sl].addr +
1638 sect + rdev->data_offset, 1638 sect + rdev->data_offset,
1639 s<<9, conf->tmppage, 1639 s<<9, conf->tmppage,