commit | bb7462b6fd64e40809a857223bf7f0e628969f87 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@redhat.com> | Mon Feb 20 16:51:23 2017 +0100 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Mon Feb 20 16:51:23 2017 +0100 |
tree | aa3ac0570ca67c85f0c7a3658c970716135ac1c0 | |
parent | 0f78d06ac1e9b470cbd8f913ee1688c8b2c8feb3 [diff] [blame] |
vfs: use helpers for calling f_op->{read,write}_iter() Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
diff --git a/fs/splice.c b/fs/splice.c index 873d831..6518f05 100644 --- a/fs/splice.c +++ b/fs/splice.c
@@ -306,7 +306,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);