Merge pull request #4058 from brendandburns/rel10

fix build on non-linux hosts.
This commit is contained in:
Brendan Burns 2015-02-03 08:14:27 -08:00
commit 70449f16fe

View File

@ -21,16 +21,16 @@ package mount
const FlagBind = 0
const FlagReadOnly = 0
type mounter struct{}
type Mounter struct{}
func (mounter *mounter) Mount(source string, target string, fstype string, flags uintptr, data string) error {
func (mounter *Mounter) Mount(source string, target string, fstype string, flags uintptr, data string) error {
return nil
}
func (mounter *mounter) Unmount(target string, flags int) error {
func (mounter *Mounter) Unmount(target string, flags int) error {
return nil
}
func (mounter *mounter) List() ([]MountPoint, error) {
func (mounter *Mounter) List() ([]MountPoint, error) {
return []MountPoint{}, nil
}