summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-01-26 08:16:11 +0000
committergVisor bot <gvisor-bot@google.com>2021-01-26 08:16:11 +0000
commit7430db20e47c7d225c884279e1fea0fe33636e26 (patch)
tree922a15c34e90916bbe3ada98d46db705e70fad91 /pkg/sentry/kernel
parentb534f359c770f98d03188befc92c8ca449e936c0 (diff)
parent3946075403a93907138f13e61bdba075aeabfecf (diff)
Merge release-20210112.0-89-g394607540 (automated)
Diffstat (limited to 'pkg/sentry/kernel')
-rw-r--r--pkg/sentry/kernel/fd_table.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/pkg/sentry/kernel/fd_table.go b/pkg/sentry/kernel/fd_table.go
index 97aa679ed..a6afabb1c 100644
--- a/pkg/sentry/kernel/fd_table.go
+++ b/pkg/sentry/kernel/fd_table.go
@@ -159,13 +159,6 @@ func (f *FDTable) dropVFS2(ctx context.Context, file *vfs.FileDescription) {
panic(fmt.Sprintf("UnlockPOSIX failed: %v", err))
}
- // Generate inotify events.
- ev := uint32(linux.IN_CLOSE_NOWRITE)
- if file.IsWritable() {
- ev = linux.IN_CLOSE_WRITE
- }
- file.Dentry().InotifyWithParent(ctx, ev, 0, vfs.PathEvent)
-
// Drop the table's reference.
file.DecRef(ctx)
}