patch-2.2.0-pre1 linux/fs/nfsd/nfsfh.c

Next file: linux/fs/open.c
Previous file: linux/fs/nfs/inode.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.132/linux/fs/nfsd/nfsfh.c linux/fs/nfsd/nfsfh.c
@@ -1001,7 +1001,7 @@
 	 * Perform any needed housekeeping ...
 	 * N.B. move this into one of the daemons ...
 	 */
-	if (jiffies >= nfsd_next_expire) {
+	if (time_after_eq(jiffies, nfsd_next_expire)) {
 		expire_old(NFSD_FILE_CACHE,  5*HZ);
 		expire_old(NFSD_DIR_CACHE , 60*HZ);
 		nfsd_next_expire = jiffies + 5*HZ;

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