proc/stat: switch to ->read_iter
authorChristoph Hellwig <hch@lst.de>
Wed, 4 Nov 2020 08:27:36 +0000 (09:27 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Nov 2020 18:05:18 +0000 (10:05 -0800)
commit28589f9e0f942377e9994711f5765b01d1b8eaa2
tree171968321572f0b0d690f662180b4528a1cfcde1
parent70fce7d2253938191275ebcbd46efe45fceb05a1
proc/stat: switch to ->read_iter

Implement ->read_iter so that splice can be used on this file.

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/stat.c