diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2021-01-19 20:41:16 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-01-21 01:48:47 +0100 |
commit | 9bb48c82aced07698a2d08ee0f1475a6c4f6b266 (patch) | |
tree | 32628e37f8e7fdc03eb2c65a850ab860cf892d5d /drivers/net/pcs | |
parent | Linux 5.10 (diff) | |
download | linux-9bb48c82aced07698a2d08ee0f1475a6c4f6b266.tar.xz linux-9bb48c82aced07698a2d08ee0f1475a6c4f6b266.zip |
tty: implement write_iter
This makes the tty layer use the .write_iter() function instead of the
traditional .write() functionality.
That allows writev(), but more importantly also makes it possible to
enable .splice_write() for ttys, reinstating the "splice to tty"
functionality that was lost in commit 36e2c7421f02 ("fs: don't allow
splice read/write without explicit ops").
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 'drivers/net/pcs')
0 files changed, 0 insertions, 0 deletions