patch-2.1.128 linux/fs/lockd/svclock.c
Next file: linux/fs/minix/dir.c
Previous file: linux/fs/lockd/svc.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Sun Nov 8 14:02:19 1998
- Orig file:
v2.1.127/linux/fs/lockd/svclock.c
- Orig date:
Wed Aug 26 11:37:41 1998
diff -u --recursive --new-file v2.1.127/linux/fs/lockd/svclock.c linux/fs/lockd/svclock.c
@@ -615,6 +615,7 @@
}
if ((block = nlm_blocked) && block->b_when != NLM_NEVER)
- return block->b_when;
- return 0;
+ return (block->b_when - jiffies);
+
+ return MAX_SCHEDULE_TIMEOUT;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov