diff options
author | Jeff Layton <jlayton@redhat.com> | 2017-07-05 21:26:50 +0200 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2017-07-06 00:44:23 +0200 |
commit | 0f41074a65757b46acbdd4293f0de8a70b147406 (patch) | |
tree | f5104888049f3b85d6affa2177ae768ac5882e4a /fs/sync.c | |
parent | mm: clean up error handling in write_one_page (diff) | |
download | linux-0f41074a65757b46acbdd4293f0de8a70b147406.tar.xz linux-0f41074a65757b46acbdd4293f0de8a70b147406.zip |
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.c | 2 |
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); |