mirror of
https://github.com/containers/podman.git
synced 2025-12-06 05:37:49 +08:00
Merge pull request #20299 from giuseppe/fix-flake-ENOENT
container: always check if mountpoint is mounted
This commit is contained in:
2
vendor/github.com/containers/storage/store.go
generated
vendored
2
vendor/github.com/containers/storage/store.go
generated
vendored
@@ -3411,7 +3411,7 @@ func (s *store) Shutdown(force bool) ([]string, error) {
|
||||
// so that we reload after a .Shutdown() the same way other processes would.
|
||||
// Shutdown() is basically an error path, so reliability is more important than performance.
|
||||
if _, err2 := s.graphLock.RecordWrite(); err2 != nil {
|
||||
err = fmt.Errorf("(graphLock.RecordWrite failed: %w", err2)
|
||||
err = fmt.Errorf("graphLock.RecordWrite failed: %w", err2)
|
||||
}
|
||||
// Do the Cleanup() only after we are sure that the change was recorded with RecordWrite(), so that
|
||||
// the next user picks it.
|
||||
|
||||
Reference in New Issue
Block a user