summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-08-01 18:51:52 -0700
committergVisor bot <gvisor-bot@google.com>2021-08-01 18:51:52 -0700
commit4f6c1f30937ebb0a9be6685cfab577b0e5c5a3ac (patch)
tree3cd5a7ee1b96e768e6dc75f1ebde921a3ad2be5b
parent979d6e7d77b17e94defc29515180cc75d3560383 (diff)
parentcbc0b4e1265e10b71aa1e0dd96a04c2e534478ec (diff)
Merge pull request #6350 from sudo-sturbia:cgroupfs
PiperOrigin-RevId: 388129112
-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.
//