On 19-07-02 10:42:27, Chaitanya Kulkarni wrote: > This patch introduces helper function to read the number of sectors > from struct block_device->bd_part member. For more details Please refer > to the comment in the include/linux/genhd.h for part_nr_sects_read(). Without bd_mutex locked, this helper seems useful to have. Reviewed-by: Minwoo Im <minwoo.im.dev@xxxxxxxxx>