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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index adf4d7e1d5e1..8a0d7625681c 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -3555,7 +3555,7 @@ level_store(struct mddev *mddev, const char *buf, size_t len)
3555 printk(KERN_WARNING 3555 printk(KERN_WARNING
3556 "md: cannot register extra attributes for %s\n", 3556 "md: cannot register extra attributes for %s\n",
3557 mdname(mddev)); 3557 mdname(mddev));
3558 mddev->sysfs_action = sysfs_get_dirent(mddev->kobj.sd, NULL, "sync_action"); 3558 mddev->sysfs_action = sysfs_get_dirent(mddev->kobj.sd, "sync_action");
3559 } 3559 }
3560 if (mddev->pers->sync_request != NULL && 3560 if (mddev->pers->sync_request != NULL &&
3561 pers->sync_request == NULL) { 3561 pers->sync_request == NULL) {