diff options
author | 2021-01-19 10:49:19 -0800 | |
---|---|---|
committer | 2021-01-20 16:48:47 -0800 | |
commit | dd78b0c483e33225e0e0782b0ed887129b00f956 (patch) | |
tree | 4c44382f91a326c8c3990e7949fc8445e57a5f58 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tty: convert tty_ldisc_ops 'read()' function to take a kernel pointer (diff) | |
download | wireguard-linux-dd78b0c483e33225e0e0782b0ed887129b00f956.tar.xz wireguard-linux-dd78b0c483e33225e0e0782b0ed887129b00f956.zip |
tty: implement read_iter
Now that the ldisc read() function takes kernel pointers, it's fairly
straightforward to make the tty file operations use .read_iter() instead
of .read().
That automatically gives us vread() and friends, and also makes it
possible to do .splice_read() on ttys again.
Fixes: 36e2c7421f02 ("fs: don't allow splice read/write without explicit ops")
Reported-by: Oliver Giles <ohw.giles@gmail.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions