Skip to content

Commit 229adf3

Browse files
Andreas GruenbacherDarrick J. Wong
authored andcommitted
iomap: Don't create iomap_page objects in iomap_page_mkwrite_actor
Now that we create those objects in iomap_writepage_map when needed, there's no need to pre-create them in iomap_page_mkwrite_actor anymore. Signed-off-by: Andreas Gruenbacher <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Matthew Wilcox (Oracle) <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
1 parent 637d337 commit 229adf3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fs/iomap/buffered-io.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,6 @@ iomap_page_mkwrite_actor(struct inode *inode, loff_t pos, loff_t length,
969969
block_commit_write(page, 0, length);
970970
} else {
971971
WARN_ON_ONCE(!PageUptodate(page));
972-
iomap_page_create(inode, page);
973972
set_page_dirty(page);
974973
}
975974

0 commit comments

Comments
 (0)