Re: [Xen-devel] [PATCH V5 1/9] block: add a helper function to read nr_setcs

2019-08-21 Thread Bart Van Assche
On 8/20/19 11:14 PM, 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(). Reviewed-by: Minwoo Im Reviewed-by: Ma

[Xen-devel] [PATCH V5 1/9] block: add a helper function to read nr_setcs

2019-08-20 Thread Chaitanya Kulkarni
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(). Reviewed-by: Minwoo Im Reviewed-by: Martin K. Petersen Signed-off-by: Chaitanya Kulkar