]> git.proxmox.com Git - pve-storage.git/commit
import: don't check for 1K aligned size
authorStefan Reiter <s.reiter@proxmox.com>
Mon, 4 Oct 2021 15:29:19 +0000 (17:29 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 5 Oct 2021 04:19:39 +0000 (06:19 +0200)
commitb19ae5b47e134eaaad05cc1d0828dbf960ce4d24
treef31d0d1dc1d869fd9c0ad59c8ea63b59132ab751
parent838e0632f7ae7a8cf14db776e664086e29ab35d5
import: don't check for 1K aligned size

TPM state disks on directory storages may have completely unaligned
sizes, this check doesn't make sense for them.

This appears to just be a (weak) safeguard and not serve an actual
functional purpose, so simply get rid of it to allow migration of TPM
state.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
PVE/Storage/Plugin.pm