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)
commitcc099e0b399889c6485c88368b19824b087c9f8c
treec5f398dfea942825e6fc973fd685180bde361d68
parent4eaad21a6ac9865df7f31983232ed5928450458d
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