projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'akpm' (patches from Andrew Morton)
[firefly-linux-kernel-4.4.55.git]
/
fs
/
sync.c
diff --git
a/fs/sync.c
b/fs/sync.c
index ff96f99fef645c38f34bd985b1a2be2184415774..f15537452231d003a05f99b6b28d3c63b85dc8f0 100644
(file)
--- a/
fs/sync.c
+++ b/
fs/sync.c
@@
-180,7
+180,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);
}