aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jffs2
diff options
context:
space:
mode:
Diffstat (limited to 'fs/jffs2')
-rw-r--r--fs/jffs2/file.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/jffs2/file.c b/fs/jffs2/file.c
index 3ed6e3e120b6..242875f77cb3 100644
--- a/fs/jffs2/file.c
+++ b/fs/jffs2/file.c
@@ -42,8 +42,10 @@ const struct file_operations jffs2_file_operations =
42{ 42{
43 .llseek = generic_file_llseek, 43 .llseek = generic_file_llseek,
44 .open = generic_file_open, 44 .open = generic_file_open,
45 .read = generic_file_read, 45 .read = do_sync_read,
46 .write = generic_file_write, 46 .aio_read = generic_file_aio_read,
47 .write = do_sync_write,
48 .aio_write = generic_file_aio_write,
47 .ioctl = jffs2_ioctl, 49 .ioctl = jffs2_ioctl,
48 .mmap = generic_file_readonly_mmap, 50 .mmap = generic_file_readonly_mmap,
49 .fsync = jffs2_fsync, 51 .fsync = jffs2_fsync,