mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-01 09:13:37 +00:00
scsi: st: ERASE does not change tape location
The SCSI ERASE command erases from the current position onwards. Don't clear the position variables. Signed-off-by: Kai Mäkisara <Kai.Makisara@kolumbus.fi> Link: https://lore.kernel.org/r/20250311112516.5548-3-Kai.Makisara@kolumbus.fi Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
a018d1cf99
commit
ad77cebf97
1 changed files with 0 additions and 1 deletions
|
|
@ -2915,7 +2915,6 @@ static int st_int_ioctl(struct scsi_tape *STp, unsigned int cmd_in, unsigned lon
|
|||
timeout = STp->long_timeout * 8;
|
||||
|
||||
DEBC_printk(STp, "Erasing tape.\n");
|
||||
fileno = blkno = at_sm = 0;
|
||||
break;
|
||||
case MTSETBLK: /* Set block length */
|
||||
case MTSETDENSITY: /* Set tape density */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue