diff options
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/md.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index bb3e4b1cb773..11457a28a14c 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c | |||
@@ -2097,7 +2097,7 @@ rdev_attr_store(struct kobject *kobj, struct attribute *attr, | |||
2097 | rv = -EBUSY; | 2097 | rv = -EBUSY; |
2098 | else | 2098 | else |
2099 | rv = entry->store(rdev, page, length); | 2099 | rv = entry->store(rdev, page, length); |
2100 | mddev_unlock(rdev->mddev); | 2100 | mddev_unlock(mddev); |
2101 | } | 2101 | } |
2102 | return rv; | 2102 | return rv; |
2103 | } | 2103 | } |