diff options
Diffstat (limited to 'drivers/md/raid5.c')
-rw-r--r-- | drivers/md/raid5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index 061d265ed94e..246c9b1cc4a3 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c | |||
@@ -1975,7 +1975,7 @@ memory = conf->max_nr_stripes * (sizeof(struct stripe_head) + | |||
1975 | } | 1975 | } |
1976 | 1976 | ||
1977 | /* Ok, everything is just fine now */ | 1977 | /* Ok, everything is just fine now */ |
1978 | conf->kobj.parent = kobject_get(&mddev->kobj); | 1978 | conf->kobj.parent = &mddev->kobj; |
1979 | strcpy(conf->kobj.name, "raid5"); | 1979 | strcpy(conf->kobj.name, "raid5"); |
1980 | conf->kobj.ktype = &raid5_ktype; | 1980 | conf->kobj.ktype = &raid5_ktype; |
1981 | kobject_register(&conf->kobj); | 1981 | kobject_register(&conf->kobj); |