diff options
author | Christoph Hellwig <hch@lst.de> | 2020-11-24 12:01:45 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-12-01 14:53:40 -0700 |
commit | 231926dbf0f084211e4ec4f4c006f0bf1f47809a (patch) | |
tree | 77076293127f7e2b7f216f5b6b63e72cb97f97f1 /fs/block_dev.c | |
parent | 29ff57c61094e7bbd921ab10b5a99dce9a0132e0 (diff) | |
download | linux-231926dbf0f084211e4ec4f4c006f0bf1f47809a.tar.gz linux-231926dbf0f084211e4ec4f4c006f0bf1f47809a.tar.bz2 linux-231926dbf0f084211e4ec4f4c006f0bf1f47809a.zip |
block: move the partition_meta_info to struct block_device
Move the partition_meta_info to struct block_device in preparation for
killing struct hd_struct.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/block_dev.c')
-rw-r--r-- | fs/block_dev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/block_dev.c b/fs/block_dev.c index 0832c7830f3a..0770f654b09c 100644 --- a/fs/block_dev.c +++ b/fs/block_dev.c @@ -785,6 +785,7 @@ static void bdev_free_inode(struct inode *inode) struct block_device *bdev = I_BDEV(inode); free_percpu(bdev->bd_stats); + kfree(bdev->bd_meta_info); kmem_cache_free(bdev_cachep, BDEV_I(inode)); } |