diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-06-24 03:08:21 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-06-24 03:08:21 +0000 |
commit | cab13958a54419262aba2a0cd7f1075ed02c8ee0 (patch) | |
tree | 5b030cf3bcb54d91812bad68fe518aa87acecf76 /pkg/sentry/vfs/anonfs.go | |
parent | 02d43f5e75026d5d7e419391712733b34757aa41 (diff) | |
parent | 399c52888db609296fd1341ed0daa994ad2d02b0 (diff) |
Merge release-20200608.0-118-g399c52888 (automated)
Diffstat (limited to 'pkg/sentry/vfs/anonfs.go')
-rw-r--r-- | pkg/sentry/vfs/anonfs.go | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/pkg/sentry/vfs/anonfs.go b/pkg/sentry/vfs/anonfs.go index 746af03ec..641e3e502 100644 --- a/pkg/sentry/vfs/anonfs.go +++ b/pkg/sentry/vfs/anonfs.go @@ -300,17 +300,15 @@ func (d *anonDentry) DecRef() { // InotifyWithParent implements DentryImpl.InotifyWithParent. // -// TODO(gvisor.dev/issue/1479): Implement inotify. +// Although Linux technically supports inotify on pseudo filesystems (inotify +// is implemented at the vfs layer), it is not particularly useful. It is left +// unimplemented until someone actually needs it. func (d *anonDentry) InotifyWithParent(events, cookie uint32, et EventType) {} // Watches implements DentryImpl.Watches. -// -// TODO(gvisor.dev/issue/1479): Implement inotify. func (d *anonDentry) Watches() *Watches { return nil } // OnZeroWatches implements Dentry.OnZeroWatches. -// -// TODO(gvisor.dev/issue/1479): Implement inotify. func (d *anonDentry) OnZeroWatches() {} |