diff options
Diffstat (limited to 'kernel/cgroup.c')
-rw-r--r-- | kernel/cgroup.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c index fea11c5c990c..f2a3f5c9936c 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c | |||
@@ -915,10 +915,11 @@ static int cgroup_remount(struct super_block *sb, int *flags, char *data) | |||
915 | } | 915 | } |
916 | 916 | ||
917 | ret = rebind_subsystems(root, opts.subsys_bits); | 917 | ret = rebind_subsystems(root, opts.subsys_bits); |
918 | if (ret) | ||
919 | goto out_unlock; | ||
918 | 920 | ||
919 | /* (re)populate subsystem files */ | 921 | /* (re)populate subsystem files */ |
920 | if (!ret) | 922 | cgroup_populate_dir(cgrp); |
921 | cgroup_populate_dir(cgrp); | ||
922 | 923 | ||
923 | if (opts.release_agent) | 924 | if (opts.release_agent) |
924 | strcpy(root->release_agent_path, opts.release_agent); | 925 | strcpy(root->release_agent_path, opts.release_agent); |