diff options
Diffstat (limited to 'fs/gfs2/locking/dlm/sysfs.c')
-rw-r--r-- | fs/gfs2/locking/dlm/sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/locking/dlm/sysfs.c b/fs/gfs2/locking/dlm/sysfs.c index 1a92b6f7bc10..e5a4fbf7265f 100644 --- a/fs/gfs2/locking/dlm/sysfs.c +++ b/fs/gfs2/locking/dlm/sysfs.c | |||
@@ -219,7 +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, &kernel_kset->kobj); | 222 | gdlm_kset = kset_create_and_add("lock_dlm", NULL, kernel_kobj); |
223 | if (!gdlm_kset) { | 223 | if (!gdlm_kset) { |
224 | printk(KERN_WARNING "%s: can not create kset\n", __FUNCTION__); | 224 | printk(KERN_WARNING "%s: can not create kset\n", __FUNCTION__); |
225 | return -ENOMEM; | 225 | return -ENOMEM; |