[Devel] Re: [PATCH RFC v2 1/4] cgroup: implement eventfd-based generic API for notifications
Li Zefan
lizf at cn.fujitsu.com
Tue Dec 15 18:00:32 PST 2009
>> +/*
>> + * Check if a file is a control file
>> + */
>> +static inline struct cftype *__file_cft(struct file *file)
>> +{
>> + if (file->f_dentry->d_inode->i_fop != &cgroup_file_operations)
>> + return ERR_PTR(-EINVAL);
>
> I don't think this check is needed.
>
Sorry, please ignore this comment
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list