]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - mm/memory.c
Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso...
[karo-tx-linux.git] / mm / memory.c
index b68812d682b66c24e306d955ddbcb125e658e708..1ce2e2a734fc2b0812845279a69cb87f48588d3e 100644 (file)
@@ -1150,7 +1150,7 @@ again:
                                if (pte_dirty(ptent))
                                        set_page_dirty(page);
                                if (pte_young(ptent) &&
-                                   likely(!VM_SequentialReadHint(vma)))
+                                   likely(!(vma->vm_flags & VM_SEQ_READ)))
                                        mark_page_accessed(page);
                                rss[MM_FILEPAGES]--;
                        }