diff options
| author | Linus Torvalds <[email protected]> | 2021-01-19 10:49:19 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-01-20 16:48:47 -0800 |
| commit | dd78b0c483e33225e0e0782b0ed887129b00f956 (patch) | |
| tree | 4c44382f91a326c8c3990e7949fc8445e57a5f58 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 3b830a9c34d5897be07176ce4e6f2d75e2c8cfd7 (diff) | |
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 <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Al Viro <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions