Commit:     aec2c3ed01ed54d0cdf7f6b7c4be217c045ac5ea
Parent:     bf53d6f8fa467397a16de2a2500312ae26528d34
Author:     Christoph Lameter <[EMAIL PROTECTED]>
AuthorDate: Mon Feb 4 22:28:35 2008 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue Feb 5 09:44:14 2008 -0800

    VM: allow get_page_unless_zero on compound pages
    Both slab defrag and the large blocksize patches need to ability to take
    refcounts on compound pages.  May be useful in other places as well.
    Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 include/linux/mm.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/mm.h b/include/linux/mm.h
index f28a033..bcbe697 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -227,7 +227,7 @@ static inline int put_page_testzero(struct page *page)
 static inline int get_page_unless_zero(struct page *page)
-       VM_BUG_ON(PageCompound(page));
+       VM_BUG_ON(PageTail(page));
        return atomic_inc_not_zero(&page->_count);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to