]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit91d52d5da79b9dda9d7075b49372a2ca25296528
treeed7e9481a632e2ef783885191e9ee8cc374ac60b
parentd1ff6742766292310f275e4bfeefaea65abebd4d
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