summaryrefslogtreecommitdiffstats
path: root/fs/udf/file.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2024-07-11 05:09:04 +0200
committerChristian Brauner <brauner@kernel.org>2024-08-07 11:33:36 +0200
commit9f04609f74ec7a439e1ac42da5db9e6ddf4f7b13 (patch)
tree3d957d78bfce2c9041c04fab37b0579dcce5e61b /fs/udf/file.c
parentocfs2: Convert ocfs2_write_zero_page to use a folio (diff)
downloadlinux-9f04609f74ec7a439e1ac42da5db9e6ddf4f7b13.tar.xz
linux-9f04609f74ec7a439e1ac42da5db9e6ddf4f7b13.zip
buffer: Convert __block_write_begin() to take a folio
Almost all callers have a folio now, so change __block_write_begin() to take a folio and remove a call to compound_head(). Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/udf/file.c')
-rw-r--r--fs/udf/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/udf/file.c b/fs/udf/file.c
index 3a4179de316b..412fe7c4d348 100644
--- a/fs/udf/file.c
+++ b/fs/udf/file.c
@@ -62,7 +62,7 @@ static vm_fault_t udf_page_mkwrite(struct vm_fault *vmf)
end = size & ~PAGE_MASK;
else
end = PAGE_SIZE;
- err = __block_write_begin(&folio->page, 0, end, udf_get_block);
+ err = __block_write_begin(folio, 0, end, udf_get_block);
if (err) {
folio_unlock(folio);
ret = vmf_fs_error(err);