diff options
author | Jeff Layton <jlayton@redhat.com> | 2017-07-05 15:26:50 -0400 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2017-07-05 18:44:23 -0400 |
commit | 0f41074a65757b46acbdd4293f0de8a70b147406 (patch) | |
tree | f5104888049f3b85d6affa2177ae768ac5882e4a /fs/sync.c | |
parent | 37e51a7640c275999ea0c35410c42e6d896ff7fa (diff) | |
download | linux-stable-0f41074a65757b46acbdd4293f0de8a70b147406.tar.gz linux-stable-0f41074a65757b46acbdd4293f0de8a70b147406.tar.bz2 linux-stable-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); |