]> git.proxmox.com Git - pve-storage.git/commit
zpool: avoid wrong mount-decoding of dataset
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 19 Feb 2021 14:01:36 +0000 (15:01 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 19 Feb 2021 14:01:39 +0000 (15:01 +0100)
commitc31aee36d88f2b50724547c4bd606b5eb2ed7c2d
treef9fd7e7af535d6425cf857fe811a75131d52112a
parente74b9dd79d12f0e796db30b4d1f7cb1c4d02f08a
zpool: avoid wrong mount-decoding of dataset

this was mistakenly done as the procfs code uses it and it was
assumed we need to decode this too to get both in the same
encoding-space and thus correct comparission.

But only procfs has that encoding, we don't have it for pool values
in the storage config, so we must not do a decode on that value, that
could potentially break.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/Storage/ZFSPoolPlugin.pm