]> git.proxmox.com Git - pve-container.git/commit - src/PVE/LXC.pm
VZDump lock update, drop lock_aquire/lock_release
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 10 Feb 2016 11:01:17 +0000 (12:01 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 11 Feb 2016 05:33:12 +0000 (06:33 +0100)
commit2d3f23be68fa1c9f29f78d18fe606ee4e665012f
tree97db8d7c131f93015ddb58bf15d1b9431fd13d8b
parent325d1c76177aeea34bcf697738327707785425d0
VZDump lock update, drop lock_aquire/lock_release

Since VZDump was the only user of lock_aquire and
lock_release, and does not actually need this split,
we can drop lock_aquire and lock_release.

Since lock_file_full in PVE::Tools now uses the same
refcounting implementation that lock_aquire/release
had, lock_container can simply wrap lock_file_full.
src/PVE/LXC.pm
src/PVE/VZDump/LXC.pm