Looks fine,
Reviewed-by: Christoph Hellwig
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
Reviewed-by: Om
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 Sando
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 +---
2 files changed, 7 insertion