'Delete a snapshot.'

def delete_snapshot(self, snapshot):

    if (not snapshot.provider_location):
        LOG.warning('Snapshot    %s    does    not    have    provider_location    specified,    skipping', snapshot.name)
        return
    self._ensure_share_mounted(snapshot.provider_location)
    snap_path = self.local_path(snapshot)
    self._delete_file(snap_path)
