diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2021-07-15 09:58:06 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-07-15 09:58:06 -0700 |
commit | 229adf3c64dbeae4e2f45fb561907ada9fcc0d0c (patch) | |
tree | 15e3dd1d7de9d72d57deecd5b4e78e58aa263b3d /fs/iomap/buffered-io.c | |
parent | 637d3375953e052a62c0db409557e3b3354be88a (diff) | |
download | linux-229adf3c64dbeae4e2f45fb561907ada9fcc0d0c.tar.bz2 |
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 <agruenba@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/iomap/buffered-io.c')
-rw-r--r-- | fs/iomap/buffered-io.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/iomap/buffered-io.c b/fs/iomap/buffered-io.c index 41076bab18cb..87ccb3438bec 100644 --- a/fs/iomap/buffered-io.c +++ b/fs/iomap/buffered-io.c @@ -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); } |