patch-2.2.0-pre1 linux/fs/lockd/svc.c

Next file: linux/fs/locks.c
Previous file: linux/fs/lockd/host.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.132/linux/fs/lockd/svc.c linux/fs/lockd/svc.c
@@ -136,7 +136,7 @@
 		 */
 		if (!nlmsvc_grace_period) {
 			timeout = nlmsvc_retry_blocked();
-		} else if (nlmsvc_grace_period < jiffies)
+		} else if (time_after(jiffies, nlmsvc_grace_period))
 			nlmsvc_grace_period = 0;
 
 		/*

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