aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index f99a099a7747..1375494c8cb6 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -872,7 +872,7 @@ static int btree_submit_bio_hook(struct inode *inode, int rw, struct bio *bio,
872 872
873#ifdef CONFIG_MIGRATION 873#ifdef CONFIG_MIGRATION
874static int btree_migratepage(struct address_space *mapping, 874static int btree_migratepage(struct address_space *mapping,
875 struct page *newpage, struct page *page) 875 struct page *newpage, struct page *page, bool sync)
876{ 876{
877 /* 877 /*
878 * we can't safely write a btree page from here, 878 * we can't safely write a btree page from here,
@@ -887,7 +887,7 @@ static int btree_migratepage(struct address_space *mapping,
887 if (page_has_private(page) && 887 if (page_has_private(page) &&
888 !try_to_release_page(page, GFP_KERNEL)) 888 !try_to_release_page(page, GFP_KERNEL))
889 return -EAGAIN; 889 return -EAGAIN;
890 return migrate_page(mapping, newpage, page); 890 return migrate_page(mapping, newpage, page, sync);
891} 891}
892#endif 892#endif
893 893