>> +/* >> + * 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@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers