Consider Kernel >=5.x as sufficent for using the Kernel mounter

This commit is contained in:
KingJ 2019-09-06 21:05:51 +01:00 committed by mergify[bot]
parent 060ff8d25e
commit 197c8fcfcc

View File

@ -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 {