diff options
author | Matthew Heon <matthew.heon@pm.me> | 2019-02-15 10:33:59 -0500 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2019-02-21 10:51:42 -0500 |
commit | f9c548219b6543959dd240618f8a922fdbcabc6d (patch) | |
tree | f992bfd9c0bf4d0afb98b79b03ead819aa247ae8 /completions | |
parent | a72025d6fd111bfa2dc4e1d22871966fec614f88 (diff) | |
download | podman-f9c548219b6543959dd240618f8a922fdbcabc6d.tar.gz podman-f9c548219b6543959dd240618f8a922fdbcabc6d.tar.bz2 podman-f9c548219b6543959dd240618f8a922fdbcabc6d.zip |
Recreate SHM locks when renumbering on count mismatch
When we're renumbering locks, we're destroying all existing
allocations anyways, so destroying the old lock struct is not a
particularly big deal. Existing long-lived libpod instances will
continue to use the old locks, but that will be solved in a
followon.
Also, solve an issue with returning error values in the C code.
There were a few places where we return ERRNO where it was not
set, so make them return actual error codes).
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'completions')
0 files changed, 0 insertions, 0 deletions