block: move struct partition out of genhd.h
authorChristoph Hellwig <hch@lst.de>
Tue, 24 Mar 2020 07:25:26 +0000 (08:25 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 24 Mar 2020 13:57:08 +0000 (07:57 -0600)
commit1442f76d4317b420580e11238d20789708c742a4
tree86d763c8dd427a3a7b868906b77a36f888201832
parentcbb5cb3b29f9eb158bd2db39cdc07db6d8087461
block: move struct partition out of genhd.h

struct partition is the on-disk format of a MSDOS partition table entry.
Move it out of genhd.h into a new msdos_partition.h header and give it
a msdos_ prefix to avoid confusion.
Also move the magic number from block/partitions/msdos.h to the new
header so that it can be used by the SCSI drivers looking at the DOS
partition tables.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/partitions/ldm.c
block/partitions/msdos.c
block/partitions/msdos.h [deleted file]
drivers/scsi/BusLogic.c
drivers/scsi/aacraid/linit.c
drivers/scsi/scsi_debug.c
drivers/scsi/scsicam.c
include/linux/genhd.h
include/linux/msdos_partition.h [new file with mode: 0644]