]> 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)
commitcc10ca5907d8e59949582e5d387f66c9e71d9dde
tree92d724e9f3a3eeb5c92f9b9b9d486f04f453bc18
parent0f8a6d85ed5afbdde4478376cc5ce47c03ec4608
ntfs: use find_get_page_flags() to mark page accessed as it is no longer marked later on

Mel Gorman's commit 82b1d6d77e2c ("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