From 197c8fcfcc73864061e91be59fb44625d9ea4eeb Mon Sep 17 00:00:00 2001 From: KingJ Date: Fri, 6 Sep 2019 21:05:51 +0100 Subject: [PATCH] Consider Kernel >=5.x as sufficent for using the Kernel mounter --- pkg/cephfs/volumemounter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cephfs/volumemounter.go b/pkg/cephfs/volumemounter.go index a48331016..7c287084c 100644 --- a/pkg/cephfs/volumemounter.go +++ b/pkg/cephfs/volumemounter.go @@ -70,7 +70,7 @@ func loadAvailableMounters() error { if err != nil { return err } - if majorVers >= 4 && minorVers >= 17 { + if (majorVers >= 4 && minorVers >= 17) || majorVers >= 5 { klog.Infof("loaded mounter: %s", volumeMounterKernel) availableMounters = append(availableMounters, volumeMounterKernel) } else {