]> 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)
commit14611816c44077a8385f1dffb61f4b72c4e8e126
tree2135bf094c992815cf190ac6420f81157b6a0498
parent1d6d0959a3a6826e14763384192bba1dce0485b2
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