seq_file: add seq_read_iter
authorChristoph Hellwig <hch@lst.de>
Wed, 4 Nov 2020 08:27:33 +0000 (09:27 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Nov 2020 18:05:18 +0000 (10:05 -0800)
commitd4d50710a8b46082224376ef119a4dbb75b25c56
tree318208ce4e81d298e7ed236f0475dfcd191c3936
parent3cea11cd5e3b00d91caf0b4730194039b45c5891
seq_file: add seq_read_iter

iov_iter based variant for reading a seq_file.  seq_read is
reimplemented on top of the iter variant.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/seq_file.c
include/linux/seq_file.h