]> git.proxmox.com Git - pve-container.git/commit
Refactor lock_container into lock_config_[xx]
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 12 Feb 2016 06:53:28 +0000 (07:53 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 12 Feb 2016 07:18:04 +0000 (08:18 +0100)
commit3cc56749060f98098690c5203b00dd21e553c66c
treecba7a9da7c4bed6559a44e807c274ca969b62e97
parent1bfe8728069a06783e14c07d75f1e720499172b2
Refactor lock_container into lock_config_[xx]

This mimics the "signatures" of the methods in
QemuServer.pm, and should allow us to use this methods in a
future abstract "Guest" class.

It also changes the various timeouts (ranging from 1, 10, 60
to undef) to use the default timeout defined in the
lock_config methods (10).

Also drop the now unused use statement for flock.
src/PVE/API2/LXC.pm
src/PVE/API2/LXC/Config.pm
src/PVE/API2/LXC/Snapshot.pm
src/PVE/API2/LXC/Status.pm
src/PVE/CLI/pct.pm
src/PVE/LXC.pm
src/PVE/LXC/Migrate.pm
src/PVE/VZDump/LXC.pm