diff --git a/internal/rbd/nodeserver.go b/internal/rbd/nodeserver.go index bd7a3facb..da7fe96ad 100644 --- a/internal/rbd/nodeserver.go +++ b/internal/rbd/nodeserver.go @@ -814,7 +814,7 @@ func (ns *NodeServer) mountVolume(ctx context.Context, stagingPath string, req * func (ns *NodeServer) createTargetMountPath(ctx context.Context, mountPath string, isBlock bool) (bool, error) { // Check if that mount path exists properly - notMnt, err := mount.IsNotMountPoint(ns.Mounter, mountPath) + notMnt, err := ns.Mounter.IsLikelyNotMountPoint(mountPath) if err == nil { return notMnt, nil }