linux/block/partitions
Al Viro 4fc8728aa3 block: switch ->getgeo() to struct gendisk
Instances are happier that way and it makes more sense anyway -
the only part of the result that is related to partition we are given
is the start sector, and that has been filled in by the caller.

Everything else is a function of the disk.  Only one instance
(DASD) is ever looking at anything other than bdev->bd_disk and
that one is trivial to adjust.

Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2025-08-13 02:59:29 -04:00
..
Kconfig block: add support for partition table defined in OF 2024-10-22 08:14:56 -06:00
Makefile block: add support for partition table defined in OF 2024-10-22 08:14:56 -06:00
acorn.c block/partitions/acorn: Remove redundant assignments 2022-04-23 07:15:26 -06:00
aix.c block: store a gendisk in struct parsed_partitions 2021-08-12 10:31:35 -06:00
amiga.c block/partition: fix signedness issue for Amiga partitions 2023-07-05 16:34:56 -06:00
atari.c block/partitions/atari: Remove redundant assignment 2022-04-23 07:15:26 -06:00
atari.h block: declare all partition detection routines in check.h 2020-03-24 07:57:08 -06:00
check.h block: add support for partition table defined in OF 2024-10-22 08:14:56 -06:00
cmdline.c block: add support for defining read-only partitions 2024-10-22 08:14:56 -06:00
core.c block: add partition uuid into uevent as "PARTUUID" 2024-10-22 08:15:17 -06:00
efi.c block: fix conversion of GPT partition name to 7-bit 2025-03-05 07:40:24 -07:00
efi.h block: remove genhd.h 2022-02-02 07:49:59 -07:00
ibm.c block: switch ->getgeo() to struct gendisk 2025-08-13 02:59:29 -04:00
karma.c block: remove block/partitions/karma.h 2020-03-24 07:57:08 -06:00
ldm.c block/partitions/ldm: convert strncpy() to strscpy() 2024-04-25 21:07:07 -07:00
ldm.h partitions: ldm: remove the initial kernel-doc notation 2025-01-13 07:47:19 -07:00
mac.c partitions: mac: fix handling of bogus partition table 2025-02-14 08:38:28 -07:00
mac.h block: declare all partition detection routines in check.h 2020-03-24 07:57:08 -06:00
msdos.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
of.c block: add support for partition table defined in OF 2024-10-22 08:14:56 -06:00
osf.c block: remove block/partitions/osf.h 2020-03-24 07:57:08 -06:00
sgi.c block: Remove commented out code 2025-02-21 17:12:21 -07:00
sun.c block: Remove commented out code 2025-02-21 17:12:21 -07:00
sysv68.c block: declare all partition detection routines in check.h 2020-03-24 07:57:08 -06:00
ultrix.c block: declare all partition detection routines in check.h 2020-03-24 07:57:08 -06:00