mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
[vfs2] Do not drop inotify waiters across S/R.
The waits-for relationship between an epoll instance and an inotify fd should be restored. This fixes flaky inotify vfs2 tests. PiperOrigin-RevId: 340531367
This commit is contained in:
@@ -65,7 +65,7 @@ type Inotify struct {
|
||||
|
||||
// queue is used to notify interested parties when the inotify instance
|
||||
// becomes readable or writable.
|
||||
queue waiter.Queue `state:"nosave"`
|
||||
queue waiter.Queue
|
||||
|
||||
// evMu *only* protects the events list. We need a separate lock while
|
||||
// queuing events: using mu may violate lock ordering, since at that point
|
||||
|
||||
Reference in New Issue
Block a user