]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitebe8cdb0be84960f7f8074542980252953448106
treed108dd33becaeef395db666372918dbabdcd5fa7
parent91d52d5da79b9dda9d7075b49372a2ca25296528
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