git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
fs
/
ncpfs
/
mmap.c
diff --git
a/fs/ncpfs/mmap.c
b/fs/ncpfs/mmap.c
index
bae04d6
..
5fb8e87
100644
(file)
--- a/
fs/ncpfs/mmap.c
+++ b/
fs/ncpfs/mmap.c
@@
-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 (((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;
}
inode->i_atime = CURRENT_TIME;
}