diff options
author | Will Drewry <wad@chromium.org> | 2010-08-31 16:47:05 -0400 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-09-15 10:13:18 -0400 |
commit | 6d1d8050b4bc89d0165d29b58e894aeba2564a97 (patch) | |
tree | b5c5b730bd7b80fe9041c031a6fcf08f42fff0d5 /block/genhd.c | |
parent | 144177991ca624841ddbd1e7edff958fc0f6d1fe (diff) |
block, partition: add partition_meta_info to hd_struct
I'm reposting this patch series as v4 since there have been no additional
comments, and I cleaned up one extra bit of unneeded code (in 3/3). The patches
are against Linus's tree: 2bfc96a127bc1cc94d26bfaa40159966064f9c8c
(2.6.36-rc3).
Would this patchset be suitable for inclusion in an mm branch?
This changes adds a partition_meta_info struct which itself contains a
union of structures that provide partition table specific metadata.
This change leaves the union empty. The subsequent patch includes an
implementation for CONFIG_EFI_PARTITION-based metadata.
Signed-off-by: Will Drewry <wad@chromium.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'block/genhd.c')
-rw-r--r-- | block/genhd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/genhd.c b/block/genhd.c index 59a2db6fecef..c8da12055264 100644 --- a/block/genhd.c +++ b/block/genhd.c | |||
@@ -1004,6 +1004,7 @@ static void disk_release(struct device *dev) | |||
1004 | kfree(disk->random); | 1004 | kfree(disk->random); |
1005 | disk_replace_part_tbl(disk, NULL); | 1005 | disk_replace_part_tbl(disk, NULL); |
1006 | free_part_stats(&disk->part0); | 1006 | free_part_stats(&disk->part0); |
1007 | free_part_info(&disk->part0); | ||
1007 | kfree(disk); | 1008 | kfree(disk); |
1008 | } | 1009 | } |
1009 | struct class block_class = { | 1010 | struct class block_class = { |