]> rtime.felk.cvut.cz Git - linux-imx.git/blobdiff - mm/memory.c
Btrfs: fix backref walking when we hit a compressed extent
[linux-imx.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]--;
                        }