lkml.org 
[lkml]   [2008]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.



\
 
 \ /
  Last update: 2008-06-19 02:47    [W:0.082 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site