Skip to content

Commit

Permalink
fix needLegacyXFSSupport: return true if kernel <= 5.15 (was <= 5.4)
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan.Makeev <ivan.makeev@flant.com>
  • Loading branch information
Ranger-X committed Dec 9, 2024
1 parent d6ac894 commit 4100c95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/sds-local-volume-csi/src/driver/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -440,5 +440,5 @@ func needLegacyXFSSupport() (bool, error) {
return false, fmt.Errorf("unexpected kernel version (minor part): %s", fullVersion)
}

return major < 5 || major == 5 && minor <= 4, nil
return major < 5 || major == 5 && minor <= 15, nil
}

0 comments on commit 4100c95

Please sign in to comment.