summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2024-04-28 20:47:14 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2024-05-03 02:36:56 -0400
commit203c1ce0bb063d1620698e39637b64f2d09c1368 (patch)
treecf7aba7530df349529c25832460ce51a8a47efa5 /block
parent463b3162c96dd5986adb5790ed889c785fefeede (diff)
RIP ->bd_inode
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'block')
-rw-r--r--block/bdev.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/block/bdev.c b/block/bdev.c
index a8c66cc1d6b8..0849a9cfa2b6 100644
--- a/block/bdev.c
+++ b/block/bdev.c
@@ -423,7 +423,6 @@ struct block_device *bdev_alloc(struct gendisk *disk, u8 partno)
spin_lock_init(&bdev->bd_size_lock);
mutex_init(&bdev->bd_holder_lock);
bdev->bd_partno = partno;
- bdev->bd_inode = inode;
bdev->bd_mapping = &inode->i_data;
bdev->bd_queue = disk->queue;
if (partno)