]> git.proxmox.com Git - pve-cluster.git/commit
Fix #1199: pmxcfs: vmlist cache update condition in rename
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 9 Nov 2016 08:15:56 +0000 (09:15 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 29 Nov 2016 05:25:09 +0000 (06:25 +0100)
commit61ccf85336af5ed89f260775f435a1f547fcc262
tree3b47b070ead3fe2b6490a8a39f0354ce713e1a31
parent58e19b27ba5ed61223a18f1eca99a1eb76c8277a
Fix #1199: pmxcfs: vmlist cache update condition in rename

rename() wrongly used the vmid filled in by
path_contain_vm_config() as a condition for whether to
update the vmlist cache rather than the returned nodename.

This caused a rename in any folder of a file whose name
was a number followed by '.conf' to remove the corresponding
vmid from the vmlist cache.
data/src/memdb.c