mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
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: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
3386183382
commit
463b3162c9
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user