diff options
author | Jamie Liu <jamieliu@google.com> | 2021-02-17 15:32:02 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-02-17 15:33:47 -0800 |
commit | 4bc7daf91a0d9102fa477b199964e7db45066da1 (patch) | |
tree | 75d3ccd5fd8988ad82ccfc5b6ffb849527d80eee /pkg/tcpip/tests | |
parent | 3145fe1d1e99746fe39aa68e6e00f77f6fd27fb9 (diff) |
Check for directory emptiness in VFS1 overlay rmdir().
Note that this CL reorders overlayEntry.copyMu before overlayEntry.dirCacheMu
in the overlayFileOperations.IterateDir() => readdirEntries() path - but this
lock ordering is already required by overlayRemove/Bind() =>
overlayEntry.markDirectoryDirty(), so this actually just fixes an
inconsistency.
PiperOrigin-RevId: 358047121
Diffstat (limited to 'pkg/tcpip/tests')
0 files changed, 0 insertions, 0 deletions