mm: compaction: determine if dirty pages can be migrated without blocking within...
[linux-2.6-block.git] / fs / hugetlbfs / inode.c
index aa93f9532607305894ca5d3ff9957120fd3a7d12..06fd4608a990d15a3135156455a9ea0f349583da 100644 (file)
@@ -472,7 +472,7 @@ static struct inode *hugetlbfs_get_root(struct super_block *sb,
 
 static struct inode *hugetlbfs_get_inode(struct super_block *sb,
                                        struct inode *dir,
-                                       int mode, dev_t dev)
+                                       umode_t mode, dev_t dev)
 {
        struct inode *inode;
 
@@ -583,7 +583,8 @@ static int hugetlbfs_set_page_dirty(struct page *page)
 }
 
 static int hugetlbfs_migrate_page(struct address_space *mapping,
-                               struct page *newpage, struct page *page)
+                               struct page *newpage, struct page *page,
+                               bool sync)
 {
        int rc;