diff options
Diffstat (limited to 'fs/jffs2/file.c')
-rw-r--r-- | fs/jffs2/file.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/jffs2/file.c b/fs/jffs2/file.c index 256cd19a3b78..64989ca9ba90 100644 --- a/fs/jffs2/file.c +++ b/fs/jffs2/file.c | |||
@@ -51,10 +51,10 @@ const struct file_operations jffs2_file_operations = | |||
51 | { | 51 | { |
52 | .llseek = generic_file_llseek, | 52 | .llseek = generic_file_llseek, |
53 | .open = generic_file_open, | 53 | .open = generic_file_open, |
54 | .read = do_sync_read, | 54 | .read = new_sync_read, |
55 | .aio_read = generic_file_aio_read, | 55 | .read_iter = generic_file_read_iter, |
56 | .write = do_sync_write, | 56 | .write = new_sync_write, |
57 | .aio_write = generic_file_aio_write, | 57 | .write_iter = generic_file_write_iter, |
58 | .unlocked_ioctl=jffs2_ioctl, | 58 | .unlocked_ioctl=jffs2_ioctl, |
59 | .mmap = generic_file_readonly_mmap, | 59 | .mmap = generic_file_readonly_mmap, |
60 | .fsync = jffs2_fsync, | 60 | .fsync = jffs2_fsync, |