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/sysv/file.c | |
parent | ec6044459060a8c9ce7f64405c465d141898548c (diff) |
Import of Linux/MIPS 1.3.0
Diffstat (limited to 'fs/sysv/file.c')
-rw-r--r-- | fs/sysv/file.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/fs/sysv/file.c b/fs/sysv/file.c index 27f82d51a..f098af6b6 100644 --- a/fs/sysv/file.c +++ b/fs/sysv/file.c @@ -13,6 +13,10 @@ * SystemV/Coherent regular file handling primitives */ +#ifdef MODULE +#include <linux/module.h> +#endif + #include <asm/segment.h> #include <linux/kernel.h> @@ -189,8 +193,10 @@ int sysv_file_read(struct inode * inode, struct file * filp, char * buf, int cou if (!read) return -EIO; filp->f_reada = 1; - if (!IS_RDONLY(inode)) + if (!IS_RDONLY(inode)) { inode->i_atime = CURRENT_TIME; + inode->i_dirt = 1; + } return read; } |