author: Al Viro <viro@zeniv.linux.org.uk> 2017-03-02 06:41:22 -0500
committer: Al Viro <viro@zeniv.linux.org.uk> 2017-03-02 06:41:22 -0500
commit: 653a7746fa2f5369985f5368ffc162b6510db6c8
parent: f6c99aad4d9f3521fe38e552fd2a2e12cdc52418
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/splice.c b/fs/splice.c
index 4ef78aa8ef61..eaafa3d8869a 100644
--- a/fs/splice.c
+++ b/fs/splice.c
@@ -307,7 +307,7 @@ ssize_t generic_file_splice_read(struct file *in, loff_t *ppos,
idx = to.idx;
init_sync_kiocb(&kiocb, in);
kiocb.ki_pos = *ppos;
- ret = in->f_op->read_iter(&kiocb, &to);
+ ret = call_read_iter(in, &kiocb, &to);
if (ret > 0) {
*ppos = kiocb.ki_pos;
file_accessed(in);