patch-2.4.22 linux-2.4.22/fs/lockd/svclock.c
Next file: linux-2.4.22/fs/lockd/svcproc.c
Previous file: linux-2.4.22/fs/lockd/svc4proc.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2003-08-25 04:44:43.000000000 -0700
- Orig file:
linux-2.4.21/fs/lockd/svclock.c
- Orig date:
2001-10-11 07:52:18.000000000 -0700
diff -urN linux-2.4.21/fs/lockd/svclock.c linux-2.4.22/fs/lockd/svclock.c
@@ -64,7 +64,7 @@
if (when != NLM_NEVER) {
if ((when += jiffies) == NLM_NEVER)
when ++;
- while ((b = *bp) && time_before_eq(b->b_when,when))
+ while ((b = *bp) && time_before_eq(b->b_when,when) && b->b_when != NLM_NEVER)
bp = &b->b_next;
} else
while ((b = *bp))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)