Re: [PATCH AUTOSEL 5.9 53/55] seq_file: add seq_read_iter

Greg Kroah-Hartman
2020-11-10T06:30:50Z

On Mon, Nov 09, 2020 at 10:53:16PM -0500, Sasha Levin wrote:
> From: Christoph Hellwig <hch@lst.de>
>
> [ Upstream commit d4d50710a8b46082224376ef119a4dbb75b25c56 ]
>
> 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>
> Signed-off-by: Sasha Levin <sashal@kernel.org>
> ---
> fs/seq_file.c | 45 ++++++++++++++++++++++++++++------------
> include/linux/seq_file.h | 1 +
> 2 files changed, 33 insertions(+), 13 deletions(-)

This is not needed for anything older than 5.10, please drop.

thanks,

greg k-h