proc "seq files": switch to ->read_iter
authorChristoph Hellwig <hch@lst.de>
Wed, 4 Nov 2020 08:27:38 +0000 (09:27 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Nov 2020 18:05:18 +0000 (10:05 -0800)
commitb24c30c678630e48cf8e3caefe463e1c6144d029
treed108dd33becaeef395db666372918dbabdcd5fa7
parent7cfc630e63b4f7b2ab5a1238c566a6b799ae1624
proc "seq files": switch to ->read_iter

Implement ->read_iter for all proc "seq files" so that splice works on
them.

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/generic.c