/* Truncate blocks that were not used by write. We have to truncate the pagecache as well so that corresponding buffers get properly unmapped.  */
static void ext3_truncate_failed_write(struct inode *inode)
/* Truncate blocks that were not used by write. We have to truncate the pagecache as well so that corresponding buffers get properly unmapped.  */
static void ext3_truncate_failed_write(struct inode *inode)
{
	truncate_inode_pages(inode->i_mapping, inode->i_size);
	ext3_truncate(inode);
}