diff options
author | Christoph Hellwig <hch@lst.de> | 2020-03-24 10:25:26 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-03-24 16:57:08 +0300 |
commit | 1442f76d4317b420580e11238d20789708c742a4 (patch) | |
tree | 86d763c8dd427a3a7b868906b77a36f888201832 /block/partitions/msdos.h | |
parent | cbb5cb3b29f9eb158bd2db39cdc07db6d8087461 (diff) | |
download | linux-1442f76d4317b420580e11238d20789708c742a4.tar.xz |
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>
Diffstat (limited to 'block/partitions/msdos.h')
-rw-r--r-- | block/partitions/msdos.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/block/partitions/msdos.h b/block/partitions/msdos.h deleted file mode 100644 index 123e666bb932..000000000000 --- a/block/partitions/msdos.h +++ /dev/null @@ -1,8 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * fs/partitions/msdos.h - */ - -#define MSDOS_LABEL_MAGIC 0xAA55 - - |