Map sector to partition
struct hd_struct * disk_map_sector_rcu(struct gendisk * disk, sector_t sector);
disk
gendisk of interest
sector
sector to map
Find out which partition sector maps to on disk. This is primarily used for stats accounting.
RCU read locked. The returned partition pointer is valid only while preemption is disabled.
Found partition on success, part0 is returned if no partition matches