|
@@ -11,6 +11,7 @@
|
|
|
|
|
|
#include <linux/module.h>
|
|
|
#include <linux/fs.h>
|
|
|
+#include <linux/mm.h>
|
|
|
#include <linux/pagemap.h>
|
|
|
#include <linux/highmem.h>
|
|
|
#include <linux/init.h>
|
|
@@ -30,7 +31,8 @@ static int ramfs_nommu_setattr(struct dentry *, struct iattr *);
|
|
|
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_nobuffers,
|
|
|
};
|
|
|
|
|
|
const struct file_operations ramfs_file_operations = {
|