proc "single files": switch to ->read_iter
authorGreg Kroah-Hartman <gregkh@google.com>
Wed, 4 Nov 2020 08:27:37 +0000 (09:27 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Nov 2020 18:05:18 +0000 (10:05 -0800)
commit7cfc630e63b4f7b2ab5a1238c566a6b799ae1624
treeed7e9481a632e2ef783885191e9ee8cc374ac60b
parent28589f9e0f942377e9994711f5765b01d1b8eaa2
proc "single files": switch to ->read_iter

Implement ->read_iter for all proc "single files" so that more bionic
tests cases can pass when they call splice() on other fun files like
/proc/version

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