patch-1.3.65 linux/fs/nfs/file.c

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

diff -u --recursive --new-file v1.3.64/linux/fs/nfs/file.c linux/fs/nfs/file.c
@@ -121,7 +121,7 @@
 		if ((cache[i].inode_num == inode->i_ino)
 			&& (cache[i].file_pos <= pos)
 			&& (cache[i].file_pos + cache[i].len >= pos + count)
-			&& (abs(jiffies - cache[i].time) < EXPIRE_CACHE))
+			&& (jiffies - cache[i].time < EXPIRE_CACHE))
 			break;
 	if (i < READ_CACHE_SIZE) {
 		++cache[i].in_use;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this