diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-12-04 15:34:24 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-12-26 23:54:18 -0500 |
commit | 15a8f657c71d278e0ca8193bf7162fb4ede0794e (patch) | |
tree | a0651e1b196233b5550ccfb9358fbae5214dab0a /net/socket.c | |
parent | b913be3b20c5264dfa3f61129c502493f00f39da (diff) |
switch socket ->splice_read() to struct file *
making it possible to use generic_file_splice_read() as instance of
those.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net/socket.c')
-rw-r--r-- | net/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket.c b/net/socket.c index 8487bf136e5c..f6e49e466a95 100644 --- a/net/socket.c +++ b/net/socket.c @@ -803,7 +803,7 @@ static ssize_t sock_splice_read(struct file *file, loff_t *ppos, if (unlikely(!sock->ops->splice_read)) return -EINVAL; - return sock->ops->splice_read(sock, ppos, pipe, len, flags); + return sock->ops->splice_read(file, ppos, pipe, len, flags); } static ssize_t sock_read_iter(struct kiocb *iocb, struct iov_iter *to) |