BUG_ON(ret < 0);
}
-static noinline void flush_write_bio(void *data);
+static void flush_write_bio(void *data);
+
static inline struct btrfs_fs_info *
tree_fs_info(struct extent_io_tree *tree)
{
return ret;
}
-static void flush_epd_write_bio(struct extent_page_data *epd)
+static void flush_write_bio(void *data)
{
+ struct extent_page_data *epd = data;
+
if (epd->bio) {
int ret;
}
}
-static noinline void flush_write_bio(void *data)
-{
- struct extent_page_data *epd = data;
- flush_epd_write_bio(epd);
-}
-
int extent_write_full_page(struct page *page, struct writeback_control *wbc)
{
int ret;
ret = __extent_writepage(page, wbc, &epd);
- flush_epd_write_bio(&epd);
+ flush_write_bio(&epd);
return ret;
}
start += PAGE_SIZE;
}
- flush_epd_write_bio(&epd);
+ flush_write_bio(&epd);
return ret;
}
ret = extent_write_cache_pages(mapping, wbc, __extent_writepage, &epd,
flush_write_bio);
- flush_epd_write_bio(&epd);
+ flush_write_bio(&epd);
return ret;
}