summaryrefslogtreecommitdiff
path: root/fs/sync.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2017-07-05 22:26:50 +0300
committerJeff Layton <jlayton@redhat.com>2017-07-06 01:44:23 +0300
commit0f41074a65757b46acbdd4293f0de8a70b147406 (patch)
treef5104888049f3b85d6affa2177ae768ac5882e4a /fs/sync.c
parent37e51a7640c275999ea0c35410c42e6d896ff7fa (diff)
downloadlinux-0f41074a65757b46acbdd4293f0de8a70b147406.tar.xz
fs: remove call_fsync helper function
Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com> Signed-off-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'fs/sync.c')
-rw-r--r--fs/sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sync.c b/fs/sync.c
index 11ba023434b1..2a54c1f22035 100644
--- a/fs/sync.c
+++ b/fs/sync.c
@@ -192,7 +192,7 @@ int vfs_fsync_range(struct file *file, loff_t start, loff_t end, int datasync)
spin_unlock(&inode->i_lock);
mark_inode_dirty_sync(inode);
}
- return call_fsync(file, start, end, datasync);
+ return file->f_op->fsync(file, start, end, datasync);
}
EXPORT_SYMBOL(vfs_fsync_range);