Commit 463b3162 authored by Al Viro's avatar Al Viro
Browse files

dasd_format(): killing the last remaining user of ->bd_inode



What happens here is almost certainly wrong.  However,
	* it's the last remaining user of ->bd_inode anywhere in the tree
	* it is *NOT* a fast path by any stretch of imagination

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 33861833
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -215,7 +215,7 @@ dasd_format(struct dasd_block *block, struct format_data_t *fdata)
	 * enabling the device later.
	 */
	if (fdata->start_unit == 0) {
		block->gdp->part0->bd_inode->i_blkbits =
		block->gdp->part0->bd_mapping->host->i_blkbits =
			blksize_bits(fdata->blksize);
	}