summaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2024-04-28 20:43:56 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2024-05-03 02:36:56 -0400
commit463b3162c96dd5986adb5790ed889c785fefeede (patch)
treea874a77d69da6f25dc47a7acdeb69a61809fc3c7 /drivers/s390
parent338618338233a8567f48f70b228abca626ffb3ed (diff)
downloadlinux-463b3162c96dd5986adb5790ed889c785fefeede.tar.gz
linux-463b3162c96dd5986adb5790ed889c785fefeede.tar.bz2
linux-463b3162c96dd5986adb5790ed889c785fefeede.zip
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>
Diffstat (limited to 'drivers/s390')
-rw-r--r--drivers/s390/block/dasd_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/block/dasd_ioctl.c b/drivers/s390/block/dasd_ioctl.c
index 7e0ed7032f76..eb5dcbe37230 100644
--- a/drivers/s390/block/dasd_ioctl.c
+++ b/drivers/s390/block/dasd_ioctl.c
@@ -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);
}