patch-2.4.13 linux/drivers/s390/char/tape34xx.c

Next file: linux/drivers/s390/char/tapechar.c
Previous file: linux/drivers/s390/char/hwc_cpi.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.12/linux/drivers/s390/char/tape34xx.c linux/drivers/s390/char/tape34xx.c
@@ -1670,7 +1670,7 @@
 	tapestate_set (ti, TS_DONE);
 	ti->rc = 0;
 	ti->wanna_wakeup=1;
-	wake_up_interruptible (&ti->wq);
+	wake_up (&ti->wq);
 }
 
 void
@@ -2274,6 +2274,8 @@
 	ti->wanna_wakeup=1;
 	switch (tapestate_get(ti)) {
 	case TS_REW_RELEASE_INIT:
+	case TS_RFO_INIT:
+	case TS_RBA_INIT:
 	    tapestate_set(ti,TS_FAILED);
 	    wake_up (&ti->wq);
 	    break;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)