]> git.proxmox.com Git - pve-storage.git/commit - PVE/Storage/CephFSPlugin.pm
cephfs: make is_mounted check less strict
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 3 Jul 2019 07:42:13 +0000 (09:42 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 3 Jul 2019 08:15:14 +0000 (10:15 +0200)
commit82881c5f9e3c50549c159847a391afe23cb1855b
treecdecfddca45398ae1466f871608abfed03391e9f
parent35ccd3d004d648b3e678f211ac8646f4735fe0ec
cephfs: make is_mounted check less strict

checking '$server:$subdir' is too strict to work in all cirumcstances,
e.g. adding/removing a monitor would mean that it is not the same
anymore, same if one is adding/removing the ports from the config

check only if the subdir is the same and if it is a cephfs
this way, it still returns true if someone changes the config

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/Storage/CephFSPlugin.pm