mirror of
https://github.com/containers/podman.git
synced 2025-12-13 10:28:48 +08:00
vendor: bump c/storage
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
4
vendor/github.com/containers/storage/pkg/lockfile/lockfile.go
generated
vendored
4
vendor/github.com/containers/storage/pkg/lockfile/lockfile.go
generated
vendored
@@ -415,7 +415,9 @@ func (l *LockFile) lock(lType lockType) {
|
||||
// Optimization: only use the (expensive) syscall when
|
||||
// the counter is 0. In this case, we're either the first
|
||||
// reader lock or a writer lock.
|
||||
lockHandle(l.fd, lType, false)
|
||||
if err := lockHandle(l.fd, lType, false); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
l.lockType = lType
|
||||
l.locked = true
|
||||
|
||||
Reference in New Issue
Block a user