projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sky2: version 1.14
[powerpc.git]
/
fs
/
ramfs
/
file-mmu.c
diff --git
a/fs/ramfs/file-mmu.c
b/fs/ramfs/file-mmu.c
index
0947fb5
..
2f14774
100644
(file)
--- a/
fs/ramfs/file-mmu.c
+++ b/
fs/ramfs/file-mmu.c
@@
-25,11
+25,13
@@
*/
#include <linux/fs.h>
*/
#include <linux/fs.h>
+#include <linux/mm.h>
const struct address_space_operations ramfs_aops = {
.readpage = simple_readpage,
.prepare_write = simple_prepare_write,
const struct address_space_operations ramfs_aops = {
.readpage = simple_readpage,
.prepare_write = simple_prepare_write,
- .commit_write = simple_commit_write
+ .commit_write = simple_commit_write,
+ .set_page_dirty = __set_page_dirty_no_writeback,
};
const struct file_operations ramfs_file_operations = {
};
const struct file_operations ramfs_file_operations = {
@@
-43,6
+45,6
@@
const struct file_operations ramfs_file_operations = {
.llseek = generic_file_llseek,
};
.llseek = generic_file_llseek,
};
-struct inode_operations ramfs_file_inode_operations = {
+
const
struct inode_operations ramfs_file_inode_operations = {
.getattr = simple_getattr,
};
.getattr = simple_getattr,
};