Remove mount.GetMountRefs in favor of mounter.GetMountRefs

This commit is contained in:
Yecheng Fu
2018-05-29 12:36:31 +08:00
parent 27c327cd33
commit c542b6be5d
21 changed files with 23 additions and 78 deletions

View File

@@ -46,12 +46,6 @@ func (mounter *Mounter) Unmount(target string) error {
return unsupportedErr
}
// GetMountRefs finds all other references to the device referenced
// by mountPath; returns a list of paths.
func GetMountRefs(mounter Interface, mountPath string) ([]string, error) {
return []string{}, unsupportedErr
}
func (mounter *Mounter) List() ([]MountPoint, error) {
return []MountPoint{}, unsupportedErr
}