mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
btrfs: #ifdef for build version
We removed it, because upstream removed it. But now it will be coming back, so work with it either way. Signed-off-by: Vincent Batts <vbatts@redhat.com>
This commit is contained in:
parent
a0cfe83435
commit
b76e300b4c
3 changed files with 19 additions and 7 deletions
|
|
@ -5,6 +5,10 @@ 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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue