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

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

diff -u --recursive --new-file v2.4.12/linux/drivers/s390/char/tapechar.c linux/drivers/s390/char/tapechar.c
@@ -204,13 +204,9 @@
 	    return rc;
 	}
 	s390irq_spin_unlock_irqrestore (ti->devinfo.irq, lockflags);
-	wait_event_interruptible (ti->wq,ti->wanna_wakeup);
+	wait_event (ti->wq,ti->wanna_wakeup);
 	ti->cqr = NULL;
 	ti->discipline->free_read_block (cqr, ti);
-	if (signal_pending (current)) {
-		tapestate_set (ti, TS_IDLE);
-		return -ERESTARTSYS;
-	}
 	s390irq_spin_lock_irqsave (ti->devinfo.irq, lockflags);
 	if (tapestate_get (ti) == TS_FAILED) {
 		tapestate_set (ti, TS_IDLE);

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