diff options
Diffstat (limited to 'fs/gfs2')
-rw-r--r-- | fs/gfs2/locking/dlm/sysfs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/gfs2/locking/dlm/sysfs.c b/fs/gfs2/locking/dlm/sysfs.c index 0a8614088ec6..1a92b6f7bc10 100644 --- a/fs/gfs2/locking/dlm/sysfs.c +++ b/fs/gfs2/locking/dlm/sysfs.c | |||
@@ -219,8 +219,7 @@ void gdlm_kobject_release(struct gdlm_ls *ls) | |||
219 | 219 | ||
220 | int gdlm_sysfs_init(void) | 220 | int gdlm_sysfs_init(void) |
221 | { | 221 | { |
222 | gdlm_kset = kset_create_and_add("lock_dlm", NULL, | 222 | gdlm_kset = kset_create_and_add("lock_dlm", NULL, &kernel_kset->kobj); |
223 | &kernel_subsys.kobj); | ||
224 | if (!gdlm_kset) { | 223 | if (!gdlm_kset) { |
225 | printk(KERN_WARNING "%s: can not create kset\n", __FUNCTION__); | 224 | printk(KERN_WARNING "%s: can not create kset\n", __FUNCTION__); |
226 | return -ENOMEM; | 225 | return -ENOMEM; |