summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-05-29 19:39:55 +0000
committergVisor bot <gvisor-bot@google.com>2020-05-29 19:39:55 +0000
commitaae3ec6244d64da47a6f52d1165f9dbf9723fcd9 (patch)
treefc278a27fe3e23ea2d525032ed88cc401fb737c1 /pkg/sentry/kernel
parent1e5ef104e08a9ddc49608d852328d86d85804ee6 (diff)
parentccf69bdd7e05a4e5f404fbef89a7f49f218645e2 (diff)
Merge release-20200522.0-33-gccf69bdd (automated)
Diffstat (limited to 'pkg/sentry/kernel')
-rw-r--r--pkg/sentry/kernel/fd_table.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/kernel/fd_table.go b/pkg/sentry/kernel/fd_table.go
index ef73e1169..dbfcef0fa 100644
--- a/pkg/sentry/kernel/fd_table.go
+++ b/pkg/sentry/kernel/fd_table.go
@@ -158,7 +158,7 @@ func (f *FDTable) dropVFS2(file *vfs.FileDescription) {
if file.IsWritable() {
ev = linux.IN_CLOSE_WRITE
}
- file.Dentry().InotifyWithParent(ev, 0)
+ file.Dentry().InotifyWithParent(ev, 0, vfs.PathEvent)
// Drop the table reference.
file.DecRef()