diff options
Diffstat (limited to 'mm/swap.c')
-rw-r--r-- | mm/swap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -55,7 +55,7 @@ static void fastcall __page_cache_release(struct page *page) | |||
55 | 55 | ||
56 | static void put_compound_page(struct page *page) | 56 | static void put_compound_page(struct page *page) |
57 | { | 57 | { |
58 | page = (struct page *)page_private(page); | 58 | page = compound_head(page); |
59 | if (put_page_testzero(page)) { | 59 | if (put_page_testzero(page)) { |
60 | compound_page_dtor *dtor; | 60 | compound_page_dtor *dtor; |
61 | 61 | ||