Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Mäkisara <kai.makisara@kolumbus.fi>2003-06-21 21:26:39 -0700
committerPaul Mackerras <paulus@samba.org>2003-06-21 21:26:39 -0700
commitf22608cbaea74e6d9b4474896ae20fd34f929971 (patch)
tree21bf0c52d49e5213b946092b5f58ead0d98b7e07
parent77a5fe3cdfd19c17a00a281aee99b3c2fae95ebd (diff)
[PATCH] SCSI tape write error fix
This corrects the back off count so that write errors will not be ignored
-rw-r--r--drivers/scsi/st.c4
1 files 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 <rgooch@atnf.csiro.au> Devfs support
*/
-static char *verstr = "20030413";
+static char *verstr = "20030622";
#include <linux/module.h>
@@ -1555,6 +1554,7 @@ static ssize_t
}
} else {
filp->f_pos -= do_count;
+ count += do_count;
STps->drv_block = (-1); /* Too cautious? */
retval = (-EIO);
}