]> git.baikalelectronics.ru Git - kernel.git/commit
ntfs: use find_get_page_flags() to mark page accessed as it is no longer marked later on
authorAnton Altaparmakov <anton@tuxera.com>
Thu, 9 Oct 2014 22:24:46 +0000 (15:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 10 Oct 2014 02:25:46 +0000 (22:25 -0400)
commit2ea1990aecf40b722d4f1dc3afd7bd84f20fccd7
tree92d724e9f3a3eeb5c92f9b9b9d486f04f453bc18
parent68cdc393c87bc25d4e0b5667d56279943c5aa0cc
ntfs: use find_get_page_flags() to mark page accessed as it is no longer marked later on

Mel Gorman's commit 8b04f2deac87 ("mm: non-atomically mark page accessed
during page cache allocation where possible") removed mark_page_accessed()
calls from NTFS without updating the matching find_lock_page() to
find_get_page_flags(GFP_LOCK | FGP_ACCESSED) thus causing the page to
never be marked accessed.

This patch fixes that.

Signed-off-by: Anton Altaparmakov <anton@tuxera.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ntfs/file.c
fs/ntfs/super.c