mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Merge pull request #6350 from sudo-sturbia:cgroupfs
PiperOrigin-RevId: 388129112
This commit is contained in:
@@ -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.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user