Merge pull request #6350 from sudo-sturbia:cgroupfs

PiperOrigin-RevId: 388129112
This commit is contained in:
gVisor bot
2021-08-01 18:51:52 -07:00
-5
View File
@@ -383,11 +383,6 @@ func (d *dir) DecRef(ctx context.Context) {
d.dirRefs.DecRef(func() { d.Destroy(ctx) })
}
// StatFS implements kernfs.Inode.StatFS.
func (d *dir) StatFS(ctx context.Context, fs *vfs.Filesystem) (linux.Statfs, error) {
return vfs.GenericStatFS(linux.CGROUP_SUPER_MAGIC), nil
}
// controllerFile represents a generic control file that appears within a cgroup
// directory.
//