projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[CIFS] Do not need to adjust for Jan/Feb for leap day
[powerpc.git]
/
fs
/
ramfs
/
file-nommu.c
diff --git
a/fs/ramfs/file-nommu.c
b/fs/ramfs/file-nommu.c
index
99fffc9
..
677139b
100644
(file)
--- a/
fs/ramfs/file-nommu.c
+++ b/
fs/ramfs/file-nommu.c
@@
-283,9
+283,9
@@
unsigned long ramfs_nommu_get_unmapped_area(struct file *file,
/*****************************************************************************/
/*
/*****************************************************************************/
/*
- * set up a mapping
+ * set up a mapping
for shared memory segments
*/
int ramfs_nommu_mmap(struct file *file, struct vm_area_struct *vma)
{
*/
int ramfs_nommu_mmap(struct file *file, struct vm_area_struct *vma)
{
- return
0
;
+ return
vma->vm_flags & VM_SHARED ? 0 : -ENOSYS
;
}
}