summaryrefslogtreecommitdiffstats
path: root/fs/ext4/move_extent.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2022-04-29 17:12:16 +0200
committerMatthew Wilcox (Oracle) <willy@infradead.org>2022-05-09 22:21:45 +0200
commitfe5ddf6b21c7b9b2c6e29ef6fd38d827ced55e6e (patch)
treed82ac11c4d5fda5c3863d9c067f0ddfed441c7b7 /fs/ext4/move_extent.c
parenterofs: Convert erofs zdata to read_folio (diff)
downloadlinux-fe5ddf6b21c7b9b2c6e29ef6fd38d827ced55e6e.tar.xz
linux-fe5ddf6b21c7b9b2c6e29ef6fd38d827ced55e6e.zip
ext4: Convert ext4 to read_folio
This is a "weak" conversion which converts straight back to using pages. A full conversion should be performed at some point, hopefully by someone familiar with the filesystem. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Diffstat (limited to 'fs/ext4/move_extent.c')
-rw-r--r--fs/ext4/move_extent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/move_extent.c b/fs/ext4/move_extent.c
index 4172a7d22471..701f1d6a217f 100644
--- a/fs/ext4/move_extent.c
+++ b/fs/ext4/move_extent.c
@@ -669,8 +669,8 @@ ext4_move_extents(struct file *o_filp, struct file *d_filp, __u64 orig_blk,
* Up semaphore to avoid following problems:
* a. transaction deadlock among ext4_journal_start,
* ->write_begin via pagefault, and jbd2_journal_commit
- * b. racing with ->readpage, ->write_begin, and ext4_get_block
- * in move_extent_per_page
+ * b. racing with ->read_folio, ->write_begin, and
+ * ext4_get_block in move_extent_per_page
*/
ext4_double_up_write_data_sem(orig_inode, donor_inode);
/* Swap original branches with new branches */