Another patch to get included into 2.0.32

Lorenzo M. Catucci (lorenzo@argon.roma2.infn.it)
Mon, 17 Nov 1997 14:50:35 +0100 (CET)


Please, don't forget the small scsi tape patch, which is floating around,
but didn't get into pre5 (didn't see any mention about it, therefore I
think it's still out of 2.0.32).

I think that the second diff should be cut off, if the patch is accepted,
still, I put it in now...

diff -ruN linux-2.0.31/drivers/scsi/st.c linux/drivers/scsi/st.c
--- linux-2.0.31/drivers/scsi/st.c Wed Sep 10 17:50:29 1997
+++ linux/drivers/scsi/st.c Mon Oct 20 13:31:37 1997
@@ -556,7 +556,7 @@
STp->buffer = st_buffers[i];
(STp->buffer)->in_use = 1;
(STp->buffer)->writing = 0;
-
+ (STp->buffer)->last_result_fatal = 0;
flags = filp->f_flags;
STp->write_prot = ((flags & O_ACCMODE) == O_RDONLY);

diff -ruN linux-2.0.31/init/patches/st-error-fix.pinfo linux/init/patches/st-error-fix.pinfo
--- linux-2.0.31/init/patches/st-error-fix.pinfo Thu Jan 1 01:00:00 1970
+++ linux/init/patches/st-error-fix.pinfo Mon Oct 20 13:31:37 1997
@@ -0,0 +1 @@
+Fix for SCSI tape 'remembering' errors from previous use (Richard B. Johnson <root@chaos.analogic.com>)