diff options
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/shm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -277,13 +277,13 @@ static int shm_release(struct inode *ino, struct file *file) | |||
277 | return 0; | 277 | return 0; |
278 | } | 278 | } |
279 | 279 | ||
280 | static int shm_fsync(struct file *file, int datasync) | 280 | static int shm_fsync(struct file *file, loff_t start, loff_t end, int datasync) |
281 | { | 281 | { |
282 | struct shm_file_data *sfd = shm_file_data(file); | 282 | struct shm_file_data *sfd = shm_file_data(file); |
283 | 283 | ||
284 | if (!sfd->file->f_op->fsync) | 284 | if (!sfd->file->f_op->fsync) |
285 | return -EINVAL; | 285 | return -EINVAL; |
286 | return sfd->file->f_op->fsync(sfd->file, datasync); | 286 | return sfd->file->f_op->fsync(sfd->file, start, end, datasync); |
287 | } | 287 | } |
288 | 288 | ||
289 | static unsigned long shm_get_unmapped_area(struct file *file, | 289 | static unsigned long shm_get_unmapped_area(struct file *file, |