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

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

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