/* write the filemap data using writepage() address_space_operations. We don't do block allocation here even for delalloc. We don't use writepages() because with dealyed allocation we may be doing block allocation in writepages().  */
static int journal_submit_inode_data_buffers(struct address_space *mapping)
/* write the filemap data using writepage() address_space_operations. We don't do block allocation here even for delalloc. We don't use writepages() because with dealyed allocation we may be doing block allocation in writepages().  */
static int journal_submit_inode_data_buffers(struct address_space *mapping)
{
	int ret;
	struct writeback_control wbc = {
		.sync_mode =  WB_SYNC_ALL,
		.nr_to_write = mapping->nrpages * 2,
		.range_start = 0,
		.range_end = i_size_read(mapping->host),
	};
	ret = generic_writepages(mapping, &wbc);
	return ret;
}