Skip to content

Commit 463b316

Browse files
author
Al Viro
committed
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 <[email protected]>
1 parent 3386183 commit 463b316

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/s390/block/dasd_ioctl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ dasd_format(struct dasd_block *block, struct format_data_t *fdata)
215215
* enabling the device later.
216216
*/
217217
if (fdata->start_unit == 0) {
218-
block->gdp->part0->bd_inode->i_blkbits =
218+
block->gdp->part0->bd_mapping->host->i_blkbits =
219219
blksize_bits(fdata->blksize);
220220
}
221221

0 commit comments

Comments
 (0)