summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/cgroupfs
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-08-02 01:56:59 +0000
committergVisor bot <gvisor-bot@google.com>2021-08-02 01:56:59 +0000
commit651949d16f733996432cea440a3bf3e6fa0c28d4 (patch)
treeb3e98b5ac6ff073735da12e36d21a563ff531139 /pkg/sentry/fsimpl/cgroupfs
parent6bc4bc23223c71a4dcbd70db97d841c49f1734e8 (diff)
parent4f6c1f30937ebb0a9be6685cfab577b0e5c5a3ac (diff)
Merge release-20210726.0-19-g4f6c1f309 (automated)
Diffstat (limited to 'pkg/sentry/fsimpl/cgroupfs')
-rw-r--r--pkg/sentry/fsimpl/cgroupfs/cgroupfs.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/pkg/sentry/fsimpl/cgroupfs/cgroupfs.go b/pkg/sentry/fsimpl/cgroupfs/cgroupfs.go
index 24e28a51f..22c8b7fda 100644
--- a/pkg/sentry/fsimpl/cgroupfs/cgroupfs.go
+++ b/pkg/sentry/fsimpl/cgroupfs/cgroupfs.go
@@ -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.
//