Re: [PATCH] cgroup: support checking of subsystem dependencies

From: Li Zefan
Date: Wed Jun 18 2008 - 20:44:59 EST


>> 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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/