diff --git a/src/tape/drive/virtual_tape.rs b/src/tape/drive/virtual_tape.rs index 0adb67cb..d6b3d0c9 100644 --- a/src/tape/drive/virtual_tape.rs +++ b/src/tape/drive/virtual_tape.rs @@ -333,10 +333,7 @@ impl TapeDriver for VirtualTapeHandle { fn backward_space_count_files(&mut self, count: usize) -> Result<(), Error> { let mut status = self.load_status()?; match status.current_tape { - Some(VirtualTapeStatus { ref name, ref mut pos }) => { - - let index = self.load_tape_index(name) - .map_err(|err| io::Error::new(io::ErrorKind::Other, err.to_string()))?; + Some(VirtualTapeStatus { ref mut pos, .. }) => { if count <= *pos { *pos = *pos - count;