diff options
author | David Howells <dhowells@redhat.com> | 2022-10-27 18:19:44 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-02-21 02:25:43 +0300 |
commit | 0185846975339a5c348373aa450a977f5242366b (patch) | |
tree | 1999ae8a5becdd01523a96e641dea1f12e6b3f82 /fs/nls/nls_iso8859-1.c | |
parent | 85dd2c8ff368b1446be9febde84afe1d7aec4261 (diff) | |
download | linux-0185846975339a5c348373aa450a977f5242366b.tar.xz |
netfs: Add a function to extract an iterator into a scatterlist
Provide a function for filling in a scatterlist from the list of pages
contained in an iterator.
If the iterator is UBUF- or IOBUF-type, the pages have a pin taken on them
(as FOLL_PIN).
If the iterator is BVEC-, KVEC- or XARRAY-type, no pin is taken on the
pages and it is left to the caller to manage their lifetime. It cannot be
assumed that a ref can be validly taken, particularly in the case of a KVEC
iterator.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Jeff Layton <jlayton@kernel.org>
cc: Steve French <sfrench@samba.org>
cc: Shyam Prasad N <nspmangalore@gmail.com>
cc: Rohith Surabattula <rohiths.msft@gmail.com>
cc: linux-cachefs@redhat.com
cc: linux-cifs@vger.kernel.org
cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/nls/nls_iso8859-1.c')
0 files changed, 0 insertions, 0 deletions