]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - mm/memory-failure.c
Merge branch 'akpm' (Andrew's patch-bomb)
[mv-sheeva.git] / mm / memory-failure.c
index 56080ea361406090860493861d5253dc314debc1..c22076ffdd44283a07a9a8f0fde2567654f44302 100644 (file)
@@ -1063,7 +1063,7 @@ int __memory_failure(unsigned long pfn, int trapno, int flags)
         * The check (unnecessarily) ignores LRU pages being isolated and
         * walked by the page reclaim code, however that's not a big loss.
         */
-       if (!PageHuge(p) && !PageTransCompound(p)) {
+       if (!PageHuge(p) && !PageTransTail(p)) {
                if (!PageLRU(p))
                        shake_page(p, 0);
                if (!PageLRU(p)) {