diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1995-11-14 08:00:00 +0000 |
---|---|---|
committer | <ralf@linux-mips.org> | 1995-11-14 08:00:00 +0000 |
commit | e7c2a72e2680827d6a733931273a93461c0d8d1b (patch) | |
tree | c9abeda78ef7504062bb2e816bcf3e3c9d680112 /fs/nfs/file.c | |
parent | ec6044459060a8c9ce7f64405c465d141898548c (diff) |
Import of Linux/MIPS 1.3.0
Diffstat (limited to 'fs/nfs/file.c')
-rw-r--r-- | fs/nfs/file.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/fs/nfs/file.c b/fs/nfs/file.c index e71d29483..cf8fe83ce 100644 --- a/fs/nfs/file.c +++ b/fs/nfs/file.c @@ -14,6 +14,10 @@ * nfs regular file handling functions */ +#ifdef MODULE +#include <linux/module.h> +#endif + #include <asm/segment.h> #include <asm/system.h> @@ -119,7 +123,7 @@ static int nfs_file_read(struct inode *inode, struct file *file, char *buf, 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)) + && (abs(jiffies - cache[i].time) < EXPIRE_CACHE)) break; if (i < READ_CACHE_SIZE) { ++cache[i].in_use; |