]> git.proxmox.com Git - pve-storage.git/commit
diskmanage: add helper for udev workaround
authorFabian Ebner <f.ebner@proxmox.com>
Mon, 25 Oct 2021 13:47:47 +0000 (15:47 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 10 Nov 2021 11:35:25 +0000 (12:35 +0100)
commit26082b7dafe7ca8d0b12125c881c62658606cae7
tree4d8f6424575f609b4790a36e9d09f5d8bdfa8113
parenta83d8eb178dd3947bf1f380dedec0acb91dded27
diskmanage: add helper for udev workaround

to avoid duplication. Current callers pass along at least one device,
but anticipate future callers that might call with the empty list. Do
nothing in that case, rather than triggering everything.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
PVE/API2/Disks.pm
PVE/API2/Disks/Directory.pm
PVE/API2/Disks/LVM.pm
PVE/API2/Disks/LVMThin.pm
PVE/API2/Disks/ZFS.pm
PVE/Diskmanage.pm