Messages in this thread | | | Date | Thu, 19 Jun 2008 08:43:18 +0800 | From | Li Zefan <> | Subject | Re: [PATCH] cgroup: support checking of subsystem dependencies |
| |
>> static int cgroup_remount(struct super_block *sb, int *flags, char *data) >> { >> int ret = 0; >> @@ -852,6 +871,10 @@ static int cgroup_remount(struct super_block *sb, int *flags, char *data) >> if (ret) >> goto out_unlock; >> >> + ret = check_subsys_dependency(opts.subsys_bits); >> + if (ret) >> + goto out_unlock; >> + > > Can we just call this from one place, in parse_cgroupfs_options() ? >
I think yes we can. I'll revise it.
| |