OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] cgroup: support checking of subsystem dependencies
Re: [PATCH] cgroup: support checking of subsystem dependencies [message #31135 is a reply to message #31126] Thu, 19 June 2008 00:43 Go to previous messageGo to previous message
Li Zefan is currently offline  Li Zefan
Messages: 90
Registered: February 2008
Member
>>  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@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH] Priority heap infrastructure enhancements
Next Topic: AW: [Users] Multiple bridge support
Goto Forum:
  


Current Time: Mon Aug 04 16:39:51 GMT 2025

Total time taken to generate the page: 1.15071 seconds