VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
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 parent: 37e51a7640c275999ea0c35410c42e6d896ff7fa
Commit Summary:
fs: remove call_fsync helper function
Diffstat:
1 file changed, 1 insertion, 1 deletion
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);