diff options
Diffstat (limited to 'fs/fuse/file.c')
-rw-r--r-- | fs/fuse/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/file.c b/fs/fuse/file.c index 90ce7c5f7b59..fb1713e76756 100644 --- a/fs/fuse/file.c +++ b/fs/fuse/file.c | |||
@@ -87,7 +87,7 @@ void fuse_finish_open(struct inode *inode, struct file *file, | |||
87 | if (outarg->open_flags & FOPEN_DIRECT_IO) | 87 | if (outarg->open_flags & FOPEN_DIRECT_IO) |
88 | file->f_op = &fuse_direct_io_file_operations; | 88 | file->f_op = &fuse_direct_io_file_operations; |
89 | if (!(outarg->open_flags & FOPEN_KEEP_CACHE)) | 89 | if (!(outarg->open_flags & FOPEN_KEEP_CACHE)) |
90 | invalidate_mapping_pages(inode->i_mapping, 0, -1); | 90 | invalidate_inode_pages2(inode->i_mapping); |
91 | ff->fh = outarg->fh; | 91 | ff->fh = outarg->fh; |
92 | file->private_data = fuse_file_get(ff); | 92 | file->private_data = fuse_file_get(ff); |
93 | } | 93 | } |