From f22608cbaea74e6d9b4474896ae20fd34f929971 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kai=20M=C3=A4kisara?= Date: Sat, 21 Jun 2003 21:26:39 -0700 Subject: [PATCH] [PATCH] SCSI tape write error fix This corrects the back off count so that write errors will not be ignored --- drivers/scsi/st.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/st.c b/drivers/scsi/st.c index 31714438236b..a8010099008d 100644 --- a/drivers/scsi/st.c +++ b/drivers/scsi/st.c @@ -12,13 +12,12 @@ Copyright 1992 - 2003 Kai Makisara email Kai.Makisara@kolumbus.fi - Last modified: Sun Apr 13 10:17:18 2003 by makisara Some small formal changes - aeb, 950809 Last modified: 18-JAN-1998 Richard Gooch Devfs support */ -static char *verstr = "20030413"; +static char *verstr = "20030622"; #include @@ -1555,6 +1554,7 @@ static ssize_t } } else { filp->f_pos -= do_count; + count += do_count; STps->drv_block = (-1); /* Too cautious? */ retval = (-EIO); } -- 2.39.5