diff options
| author | Jens Axboe <axboe@kernel.dk> | 2025-09-04 00:15:43 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2025-09-04 00:15:43 +0300 |
| commit | 4dbe13c78447450ee133fc3399ebcabe27a62164 (patch) | |
| tree | cdd060a2ac095d7f68da9377606837cda441f19a /include/linux/blkdev.h | |
| parent | b0b4518c992eb5f316c6e40ff186cbb7a5009518 (diff) | |
| parent | 4fc8728aa34f54835b72e4db0f3db76a72948b65 (diff) | |
| download | linux-4dbe13c78447450ee133fc3399ebcabe27a62164.tar.xz | |
Merge tag 'pull-getgeo' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs into for-6.18/block
Pull struct block_device getgeo changes from Al.
"switching ->getgeo() from struct block_device to struct gendisk
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>"
* tag 'pull-getgeo' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
block: switch ->getgeo() to struct gendisk
scsi: switch ->bios_param() to passing gendisk
scsi: switch scsi_bios_ptable() and scsi_partsize() to gendisk
Diffstat (limited to 'include/linux/blkdev.h')
| -rw-r--r-- | include/linux/blkdev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index fe1797bbec42..7709d55adc23 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -1660,7 +1660,7 @@ struct block_device_operations { unsigned int (*check_events) (struct gendisk *disk, unsigned int clearing); void (*unlock_native_capacity) (struct gendisk *); - int (*getgeo)(struct block_device *, struct hd_geometry *); + int (*getgeo)(struct gendisk *, struct hd_geometry *); int (*set_read_only)(struct block_device *bdev, bool ro); void (*free_disk)(struct gendisk *disk); /* this callback is with swap_lock and sometimes page table lock held */ |
