]> git.baikalelectronics.ru Git - kernel.git/commit
kernfs: implement ->read_iter
authorChristoph Hellwig <hch@lst.de>
Wed, 20 Jan 2021 20:46:29 +0000 (21:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 Jan 2021 17:30:28 +0000 (18:30 +0100)
commitdc3086a34c683d574c4da60b8829ef06d50c5103
tree2135bf094c992815cf190ac6420f81157b6a0498
parent5b02e6fc59f96f32f20a9e9938f4a0aefc5b2b95
kernfs: implement ->read_iter

Switch kernfs to implement the read_iter method instead of plain old
read to prepare to supporting splice and sendfile again.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210120204631.274206-2-hch@lst.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/kernfs/file.c