- Though undocumented, statfs(2) can sometimes return EBADF or ENOENT while an unmount is in progress.
- In MockFS::write_response, write(2) may fail if m_fuse_fd has already been closed. This doesn't happen in the normal sequence of events, but it can happen if some process unrelated to the test nosily decides to access the test file system while it's being unmounted.
PR: 296237
Reported by: siva
MFC after: 2 weeks
Sponsored by: ConnectWise