aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/md.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r--drivers/md/md.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index 36c05ba7855a..65ddc887dfd7 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -1640,7 +1640,6 @@ static void sync_sbs(mddev_t * mddev, int nospares)
1640 1640
1641static void md_update_sb(mddev_t * mddev, int force_change) 1641static void md_update_sb(mddev_t * mddev, int force_change)
1642{ 1642{
1643 int err;
1644 struct list_head *tmp; 1643 struct list_head *tmp;
1645 mdk_rdev_t *rdev; 1644 mdk_rdev_t *rdev;
1646 int sync_req; 1645 int sync_req;
@@ -1727,7 +1726,7 @@ repeat:
1727 "md: updating %s RAID superblock on device (in sync %d)\n", 1726 "md: updating %s RAID superblock on device (in sync %d)\n",
1728 mdname(mddev),mddev->in_sync); 1727 mdname(mddev),mddev->in_sync);
1729 1728
1730 err = bitmap_update_sb(mddev->bitmap); 1729 bitmap_update_sb(mddev->bitmap);
1731 ITERATE_RDEV(mddev,rdev,tmp) { 1730 ITERATE_RDEV(mddev,rdev,tmp) {
1732 char b[BDEVNAME_SIZE]; 1731 char b[BDEVNAME_SIZE];
1733 dprintk(KERN_INFO "md: "); 1732 dprintk(KERN_INFO "md: ");