[Devel] Re: [PATCH] cgroup: support checking of subsystem dependencies
Li Zefan
lizf at cn.fujitsu.com
Wed Jun 18 17:43:18 PDT 2008
>> 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.
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list