This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / fs / ncpfs / mmap.c
index bae04d6..5fb8e87 100644 (file)
@@ -123,7 +123,7 @@ int ncp_mmap(struct file *file, struct vm_area_struct *vma)
        if (((vma->vm_end - vma->vm_start) >> PAGE_SHIFT) + vma->vm_pgoff 
           > (1U << (32 - PAGE_SHIFT)))
                return -EFBIG;
-       if (!IS_RDONLY(inode) || (file && MNT_IS_RDONLY(file->f_vfsmnt))) {
+       if (!IS_RDONLY(inode)) {
                inode->i_atime = CURRENT_TIME;
        }