diff options
Diffstat (limited to 'fs/jffs')
-rw-r--r-- | fs/jffs/inode-v23.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/jffs/inode-v23.c b/fs/jffs/inode-v23.c index f5cf9c93e243..068ef0de8de2 100644 --- a/fs/jffs/inode-v23.c +++ b/fs/jffs/inode-v23.c | |||
@@ -1632,8 +1632,10 @@ static const struct file_operations jffs_file_operations = | |||
1632 | { | 1632 | { |
1633 | .open = generic_file_open, | 1633 | .open = generic_file_open, |
1634 | .llseek = generic_file_llseek, | 1634 | .llseek = generic_file_llseek, |
1635 | .read = generic_file_read, | 1635 | .read = do_sync_read, |
1636 | .write = generic_file_write, | 1636 | .aio_read = generic_file_aio_read, |
1637 | .write = do_sync_write, | ||
1638 | .aio_write = generic_file_aio_write, | ||
1637 | .ioctl = jffs_ioctl, | 1639 | .ioctl = jffs_ioctl, |
1638 | .mmap = generic_file_readonly_mmap, | 1640 | .mmap = generic_file_readonly_mmap, |
1639 | .fsync = jffs_fsync, | 1641 | .fsync = jffs_fsync, |