mm/rmap: always do TTU_IGNORE_ACCESS
[platform/kernel/linux-rpi.git] / mm / memory-failure.c
index 3151c87..58120d0 100644 (file)
@@ -965,7 +965,7 @@ EXPORT_SYMBOL_GPL(get_hwpoison_page);
 static bool hwpoison_user_mappings(struct page *p, unsigned long pfn,
                                  int flags, struct page **hpagep)
 {
-       enum ttu_flags ttu = TTU_IGNORE_MLOCK | TTU_IGNORE_ACCESS;
+       enum ttu_flags ttu = TTU_IGNORE_MLOCK;
        struct address_space *mapping;
        LIST_HEAD(tokill);
        bool unmap_success;