diff options
-rw-r--r-- | mm/filemap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/filemap.c b/mm/filemap.c index fc7818b4537e..0b301103ea80 100644 --- a/mm/filemap.c +++ b/mm/filemap.c | |||
@@ -1647,7 +1647,7 @@ repeat: | |||
1647 | } | 1647 | } |
1648 | 1648 | ||
1649 | /* Has the page been truncated? */ | 1649 | /* Has the page been truncated? */ |
1650 | if (unlikely(page->mapping != mapping)) { | 1650 | if (unlikely(compound_head(page)->mapping != mapping)) { |
1651 | unlock_page(page); | 1651 | unlock_page(page); |
1652 | put_page(page); | 1652 | put_page(page); |
1653 | goto repeat; | 1653 | goto repeat; |