patch-2.0.17 linux/drivers/char/ftape/fdc-io.c

Next file: linux/drivers/char/ftape/fdc-isr.c
Previous file: linux/drivers/char/console.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.16/linux/drivers/char/ftape/fdc-io.c linux/drivers/char/ftape/fdc-io.c
@@ -311,7 +311,7 @@
 	int current_blocked = current->blocked;
 	static int resetting = 0;
 
-	if (wait_intr) {
+	if (waitqueue_active(&wait_intr)) {
 		TRACE(1, "error: nested call");
 		return -EIO;	/* return error... */
 	}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov