Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 97dd8c9e authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Dave Chinner
Browse files

iomap: remove superflous mark_page_accessed from iomap_write_actor



This catches up with commit  2457ae ("mm: non-atomically mark page
accessed during page cache allocation where possible"), which
moved the initial access marking into the pagecache allocator.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarDave Chinner <dchinner@redhat.com>
Signed-off-by: default avatarDave Chinner <david@fromorbit.com>
parent 694d0d0b
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -199,7 +199,6 @@ iomap_write_actor(struct inode *inode, loff_t pos, loff_t length, void *data,
		pagefault_enable();
		pagefault_enable();


		flush_dcache_page(page);
		flush_dcache_page(page);
		mark_page_accessed(page);


		status = iomap_write_end(inode, pos, bytes, copied, page);
		status = iomap_write_end(inode, pos, bytes, copied, page);
		if (unlikely(status < 0))
		if (unlikely(status < 0))