mirror-linux/arch/m68k/emu
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
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
natfeat.c m68k: emu: Remove unused vsnprintf() return value in nfprint() 2023-10-06 10:03:02 +02:00
nfblock.c block: switch ->getgeo() to struct gendisk 2025-08-13 02:59:29 -04:00
nfcon.c m68k: emu: Add missing MODULE_DESCRIPTION() macros 2024-06-24 12:16:33 +02:00
nfeth.c m68k: emu: Mark version[] __maybe_unused 2023-10-06 10:03:02 +02:00