Skip to content

Commit

Permalink
iomap: Don't create iomap_page objects in iomap_page_mkwrite_actor
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Andreas Gruenbacher authored and Darrick J. Wong committed Jul 15, 2021
1 parent 637d337 commit 229adf3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/iomap/buffered-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,6 @@ iomap_page_mkwrite_actor(struct inode *inode, loff_t pos, loff_t length,
block_commit_write(page, 0, length);
} else {
WARN_ON_ONCE(!PageUptodate(page));
iomap_page_create(inode, page);
set_page_dirty(page);
}

Expand Down

0 comments on commit 229adf3

Please sign in to comment.