This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / fs / ncpfs / file.c
index ed1009d..c1745b6 100644 (file)
@@ -175,7 +175,7 @@ ncp_file_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
 
        *ppos = pos;
 
-       if (!IS_RDONLY(inode) || (file && MNT_IS_RDONLY(file->f_vfsmnt))) {
+       if (!IS_RDONLY(inode)) {
                inode->i_atime = CURRENT_TIME;
        }