Re: [PATCH 3/6] tty: implement read_iter

2021-01-21 Thread Jiri Slaby
On 21. 01. 21, 10:00, Greg Kroah-Hartman wrote: From: Linus Torvalds 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 pos

[PATCH 3/6] tty: implement read_iter

2021-01-21 Thread Greg Kroah-Hartman
From: Linus Torvalds 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: