be default it is on, with build tags to disable the version info Signed-off-by: Vincent Batts <vbatts@redhat.com> Upstream-commit: 25154682a5cd57aa4fc3ef88baeee3ce1f204060 Component: engine
14 lines
248 B
Go
14 lines
248 B
Go
// +build linux,btrfs_noversion
|
|
|
|
package btrfs
|
|
|
|
// TODO(vbatts) remove this work-around once supported linux distros are on
|
|
// btrfs utililties of >= 3.16.1
|
|
|
|
func BtrfsBuildVersion() string {
|
|
return "-"
|
|
}
|
|
func BtrfsLibVersion() int {
|
|
return -1
|
|
}
|