]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1e9e5d0e1956b43895a19e92bcb9d18e70a8c8c3
tree2f889e5654a17432a219dadd9bb64a0d3226f08e
parent12d048573f398acf9272d489da7dd627eda6014f
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