iomap: remove superflous mark_page_accessed from iomap_write_actor
authorChristoph Hellwig <hch@lst.de>
Tue, 16 Aug 2016 22:39:47 +0000 (08:39 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 16 Aug 2016 22:39:47 +0000 (08:39 +1000)
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: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/iomap.c

index 48141b8eff5f4f799f804674c83173863c156b2c..f39c3181fa108eda0bea8a8761966412ca307a43 100644 (file)
@@ -199,7 +199,6 @@ again:
                pagefault_enable();
 
                flush_dcache_page(page);
-               mark_page_accessed(page);
 
                status = iomap_write_end(inode, pos, bytes, copied, page);
                if (unlikely(status < 0))