summaryrefslogtreecommitdiff
path: root/lib/iov_iter.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2023-07-10 01:17:33 +0300
committerMatthew Wilcox (Oracle) <willy@infradead.org>2023-07-25 01:03:58 +0300
commit1b0306981e0f1e5a9ad3d08b9c88bfe21b68e3b9 (patch)
treee16b67d21299213742c04a9c3fb2fdaf860db473 /lib/iov_iter.c
parent908a1ad89466c1febf20bfe0037b84fc66f8a3f8 (diff)
downloadlinux-1b0306981e0f1e5a9ad3d08b9c88bfe21b68e3b9.tar.xz
iov_iter: Add copy_folio_from_iter_atomic()
Add a folio wrapper around copy_page_from_iter_atomic(). Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'lib/iov_iter.c')
-rw-r--r--lib/iov_iter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/iov_iter.c b/lib/iov_iter.c
index eb3dffb24aae..424737045b97 100644
--- a/lib/iov_iter.c
+++ b/lib/iov_iter.c
@@ -566,7 +566,7 @@ size_t iov_iter_zero(size_t bytes, struct iov_iter *i)
}
EXPORT_SYMBOL(iov_iter_zero);
-size_t copy_page_from_iter_atomic(struct page *page, unsigned offset,
+size_t copy_page_from_iter_atomic(struct page *page, size_t offset,
size_t bytes, struct iov_iter *i)
{
size_t n, copied = 0;