mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 21:21:41 +00:00
RIP ->bd_inode
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
463b3162c9
commit
203c1ce0bb
@ -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)
|
||||
|
@ -50,7 +50,6 @@ struct block_device {
|
||||
bool bd_write_holder;
|
||||
bool bd_has_submit_bio;
|
||||
dev_t bd_dev;
|
||||
struct inode *bd_inode; /* will die */
|
||||
struct address_space *bd_mapping; /* page cache */
|
||||
|
||||
atomic_t bd_openers;
|
||||
|
Loading…
Reference in New Issue
Block a user