projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3386183
)
dasd_format(): killing the last remaining user of ->bd_inode
author
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 29 Apr 2024 00:43:56 +0000
(20:43 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 3 May 2024 06:36:56 +0000
(
02:36
-0400)
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>
drivers/s390/block/dasd_ioctl.c
patch
|
blob
|
history
diff --git
a/drivers/s390/block/dasd_ioctl.c
b/drivers/s390/block/dasd_ioctl.c
index 7e0ed7032f76a80ce3079d21537bbae6f5126455..eb5dcbe372301b0194b67ad17d515204541b0bfa 100644
(file)
--- 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);
}