aboutsummaryrefslogtreecommitdiffstats
path: root/fs/hugetlbfs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/hugetlbfs/inode.c')
-rw-r--r--fs/hugetlbfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c
index 9ba71b252f3e..8e1b7825e2f3 100644
--- a/fs/hugetlbfs/inode.c
+++ b/fs/hugetlbfs/inode.c
@@ -450,7 +450,7 @@ static int hugetlbfs_symlink(struct inode *dir,
450 */ 450 */
451static int hugetlbfs_set_page_dirty(struct page *page) 451static int hugetlbfs_set_page_dirty(struct page *page)
452{ 452{
453 struct page *head = (struct page *)page_private(page); 453 struct page *head = compound_head(page);
454 454
455 SetPageDirty(head); 455 SetPageDirty(head);
456 return 0; 456 return 0;