Re: [PATCH 3/4] block: display the correct diskname for bio

2018-02-28 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig

[PATCH 3/4] block: display the correct diskname for bio

2018-02-27 Thread Jiufei Xue
bio_devname use __bdevname to display the device name, and can only show the major and minor of the part0, Fix this by using disk_name to display the correct name. Fixes: 74d46992e0d9 ("block: replace bi_bdev with a gendisk pointer and partitions index") Signed-off-by: Jiufei Xue

Re: [PATCH 3/4] block: display the correct diskname for bio

2018-02-26 Thread Omar Sandoval
On Mon, Feb 26, 2018 at 08:04:41PM +0800, Jiufei Xue wrote: > bio_devname use __bdevname to display the device name, and can > only show the major and minor of the part0. > Fix this by using disk_name to display the correct name. Besides adding a Fixes: tag like Jens said, Reviewed-by: Omar

[PATCH 3/4] block: display the correct diskname for bio

2018-02-26 Thread Jiufei Xue
bio_devname use __bdevname to display the device name, and can only show the major and minor of the part0. Fix this by using disk_name to display the correct name. Signed-off-by: Jiufei Xue --- block/partition-generic.c | 6 ++ include/linux/bio.h | 4