mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
parent
22bd002ee7
commit
72c2d53192
29 changed files with 74 additions and 97 deletions
|
|
@ -177,7 +177,7 @@ SYSCALL_DEFINE1(syncfs, int, fd)
|
|||
*/
|
||||
int vfs_fsync_range(struct file *file, loff_t start, loff_t end, int datasync)
|
||||
{
|
||||
if (!file->f_op || !file->f_op->fsync)
|
||||
if (!file->f_op->fsync)
|
||||
return -EINVAL;
|
||||
return file->f_op->fsync(file, start, end, datasync);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue