func (v VolumePathHandler) UnmapDevice(mapPath string, linkName string, bindMount bool) error {
	if len(mapPath) == 0 {
		return fmt.Errorf("failed to unmap device from map path. mapPath is empty")
	}
	klog.V(5).Infof("UnmapDevice: mapPath %s", mapPath)
	klog.V(5).Infof("UnmapDevice: linkName %s", linkName)

	if bindMount {
		return unmapBindMountDevice(v, mapPath, linkName)
	}
	return unmapSymlinkDevice(v, mapPath, linkName)
}
// UnmapDevice removes a symbolic link associated to block device under specified map path
UnmapDevice removes a symbolic link associated to block device under specified map path
// UnmapDevice removes a symbolic link associated to block device under specified map path
func (v VolumePathHandler) UnmapDevice(mapPath string, linkName string, bindMount bool) error {
	if len(mapPath) == 0 {
		return fmt.Errorf("failed to unmap device from map path. mapPath is empty")
	}
	klog.V(5).Infof("UnmapDevice: mapPath %s", mapPath)
	klog.V(5).Infof("UnmapDevice: linkName %s", linkName)
	if bindMount {
		return unmapBindMountDevice(v, mapPath, linkName)
	}
	return unmapSymlinkDevice(v, mapPath, linkName)
}
func ( v VolumePathHandler ) UnmapDevice ( mapPath string , linkName string , bindMount bool ) error { if len ( mapPath ) == 0 { return fmt . Errorf ( " " ) } klog . V ( 5 ) . Infof ( " " , mapPath ) klog . V ( 5 ) . Infof ( " " , linkName ) if bindMount { return unmapBindMountDevice ( v , mapPath , linkName ) } return unmapSymlinkDevice ( v , mapPath , linkName ) }
UnmapDevice removes a symbolic link associated to block device under specified map path
UnmapDevice removes a symbolic link associated to block device under specified map path