diff options
Diffstat (limited to 'fs/hugetlbfs/inode.c')
-rw-r--r-- | fs/hugetlbfs/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c index 47e6e2f21e21..4a55f35a6ced 100644 --- a/fs/hugetlbfs/inode.c +++ b/fs/hugetlbfs/inode.c | |||
@@ -582,11 +582,11 @@ static int hugetlbfs_migrate_page(struct address_space *mapping, | |||
582 | int rc; | 582 | int rc; |
583 | 583 | ||
584 | rc = migrate_huge_page_move_mapping(mapping, newpage, page); | 584 | rc = migrate_huge_page_move_mapping(mapping, newpage, page); |
585 | if (rc) | 585 | if (rc != MIGRATEPAGE_SUCCESS) |
586 | return rc; | 586 | return rc; |
587 | migrate_page_copy(newpage, page); | 587 | migrate_page_copy(newpage, page); |
588 | 588 | ||
589 | return 0; | 589 | return MIGRATEPAGE_SUCCESS; |
590 | } | 590 | } |
591 | 591 | ||
592 | static int hugetlbfs_statfs(struct dentry *dentry, struct kstatfs *buf) | 592 | static int hugetlbfs_statfs(struct dentry *dentry, struct kstatfs *buf) |