/* Clean any dirty buffers in the blockdev mapping which alias newly-created file blocks. Only called for S_ISREG files - blockdevs do not set buffer_new  */
static void clean_blockdev_aliases(struct dio *dio)
/* Clean any dirty buffers in the blockdev mapping which alias newly-created file blocks. Only called for S_ISREG files - blockdevs do not set buffer_new  */
static void clean_blockdev_aliases(struct dio *dio)
{
	unsigned i;
	unsigned nblocks;
	nblocks = dio->map_bh.b_size >> dio->inode->i_blkbits;
	for (i = 0; i < nblocks; i++) {
		unmap_underlying_metadata(dio->map_bh.b_bdev,
					dio->map_bh.b_blocknr + i);
	}
}