From: Christoph Hellwig Date: Tue, 16 Aug 2016 22:39:47 +0000 (+1000) Subject: iomap: remove superflous mark_page_accessed from iomap_write_actor X-Git-Tag: v4.8-rc3~8^2^2~6 X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Flinux.git;a=commitdiff_plain;h=97dd8c9ee60c98f09be86a2e7e61b18f8d8ed4e9 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: Christoph Hellwig Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- diff --git a/fs/iomap.c b/fs/iomap.c index 48141b8eff5f..f39c3181fa10 100644 --- a/fs/iomap.c +++ b/fs/iomap.c @@ -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))