diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2024-05-21 23:08:31 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2025-08-13 02:59:28 -0400 |
commit | 1fd143c24fb621f063f913cb1e48cc688c7eca15 (patch) | |
tree | 5e731613c4f5eb231ebd50da4b2eb3f0bdfc9ad3 /include/linux/jiffies.h | |
parent | 8f5ae30d69d7543eee0d70083daf4de8fe15d585 (diff) |
scsi: switch scsi_bios_ptable() and scsi_partsize() to gendisk
Both helpers are reading the partition table of the disk specified
by block_device of some partition on it; result depends only upon
the disk in question, so we might as well pass the struct gendisk
instead.
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>
Diffstat (limited to 'include/linux/jiffies.h')
0 files changed, 0 insertions, 0 deletions