patch-2.0.36 linux/fs/nfs/nfsiod.c
Next file: linux/fs/nfs/nfsroot.c
Previous file: linux/fs/nfs/inode.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Sun Nov 15 10:33:14 1998
- Orig file:
v2.0.35/linux/fs/nfs/nfsiod.c
- Orig date:
Sat Jun 29 02:00:46 1996
diff -u --recursive --new-file v2.0.35/linux/fs/nfs/nfsiod.c linux/fs/nfs/nfsiod.c
@@ -99,10 +99,14 @@
/* Wait until user enqueues request */
dprintk("BIO: before: now %d nfsiod's active\n", active);
dprintk("BIO: nfsiod %d waiting\n", current->pid);
+#ifndef MODULE
+ current->signal = 0;
+#endif
interruptible_sleep_on(&req->rq_wait);
-
+#ifdef MODULE
if (current->signal & ~current->blocked)
break;
+#endif
if (!req->rq_rpcreq.rq_slot)
continue;
dprintk("BIO: nfsiod %d woken up; calling nfs_rpc_doio.\n",
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov