block, partition: add partition_meta_info to hd_struct
commit6d1d8050b4bc89d0165d29b58e894aeba2564a97
authorWill Drewry <wad@chromium.org>
Tue, 31 Aug 2010 20:47:05 +0000 (31 15:47 -0500)
committerJens Axboe <jaxboe@fusionio.com>
Wed, 15 Sep 2010 14:13:18 +0000 (15 16:13 +0200)
treeb5c5b730bd7b80fe9041c031a6fcf08f42fff0d5
parent144177991ca624841ddbd1e7edff958fc0f6d1fe
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>
block/genhd.c
block/ioctl.c
fs/partitions/check.c
fs/partitions/check.h
include/linux/genhd.h