diff options
Diffstat (limited to 'kernel/cgroup.c')
-rw-r--r-- | kernel/cgroup.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c index 3f1ca934a237..ceee0c54c6a4 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c | |||
@@ -33,6 +33,7 @@ | |||
33 | #include <linux/init_task.h> | 33 | #include <linux/init_task.h> |
34 | #include <linux/kernel.h> | 34 | #include <linux/kernel.h> |
35 | #include <linux/list.h> | 35 | #include <linux/list.h> |
36 | #include <linux/magic.h> | ||
36 | #include <linux/mm.h> | 37 | #include <linux/mm.h> |
37 | #include <linux/mutex.h> | 38 | #include <linux/mutex.h> |
38 | #include <linux/mount.h> | 39 | #include <linux/mount.h> |
@@ -1604,7 +1605,8 @@ out_unlock: | |||
1604 | if (ret) | 1605 | if (ret) |
1605 | return ERR_PTR(ret); | 1606 | return ERR_PTR(ret); |
1606 | 1607 | ||
1607 | dentry = kernfs_mount(fs_type, flags, root->kf_root, &new_sb); | 1608 | dentry = kernfs_mount(fs_type, flags, root->kf_root, |
1609 | CGROUP_SUPER_MAGIC, &new_sb); | ||
1608 | if (IS_ERR(dentry) || !new_sb) | 1610 | if (IS_ERR(dentry) || !new_sb) |
1609 | cgroup_put(&root->cgrp); | 1611 | cgroup_put(&root->cgrp); |
1610 | return dentry; | 1612 | return dentry; |