From 38f0f4698ed898ea7988b9ef9bd3c921e8da64f6 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Mon, 28 Jun 2021 08:40:03 +0200 Subject: [PATCH] btrfs: fix path_is_mounted invocation Signed-off-by: Wolfgang Bumiller --- PVE/Storage/BTRFSPlugin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Storage/BTRFSPlugin.pm b/PVE/Storage/BTRFSPlugin.pm index 09b38a2..4596b30 100644 --- a/PVE/Storage/BTRFSPlugin.pm +++ b/PVE/Storage/BTRFSPlugin.pm @@ -121,7 +121,7 @@ sub activate_storage { } my $mp = PVE::Storage::DirPlugin::parse_is_mountpoint($scfg); - if (defined($mp) && !path_is_mounted($mp, $cache->{mountdata})) { + if (defined($mp) && !PVE::Storage::DirPlugin::path_is_mounted($mp, $cache->{mountdata})) { die "unable to activate storage '$storeid' - directory is expected to be a mount point but" ." is not mounted: '$mp'\n"; }