configfs: implement the .read_iter and .write_iter methods
authorBart Van Assche <bvanassche@acm.org>
Tue, 25 May 2021 08:30:21 +0000 (10:30 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 25 May 2021 08:30:56 +0000 (10:30 +0200)
commit7fe1e79b59ba02fb6bdc45d324f88f1ba97d3ab4
tree2f889e5654a17432a219dadd9bb64a0d3226f08e
parent44b9a000df5cc144c262a0da0d092dc04b93abca
configfs: implement the .read_iter and .write_iter methods

Configfs is one of the few filesystems that does not yet support the
.read_iter and .write_iter callbacks. This patch adds support for these
methods in configfs.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
[hch: split out a separate fix]
Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/configfs/file.c