/* This is a library function, which implements the writepages() address_space_operation.  */
int generic_writepages(struct address_space *mapping, struct writeback_control *wbc)
/* This is a library function, which implements the writepages() address_space_operation.  */
int generic_writepages(struct address_space *mapping, struct writeback_control *wbc)
{
	if (!mapping->a_ops->writepage)
		return 0;
	return write_cache_pages(mapping, wbc, __writepage, mapping);
}