aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/block/bio.c
diff options
context:
space:
mode:
authorJiufei Xue <jiufei.xue@linux.alibaba.com>2018-02-27 20:10:18 +0800
committerJens Axboe <axboe@kernel.dk>2018-03-01 08:41:25 -0700
commit9c0fb1e313aaf4e8edec22433c8b22dd308e466c (patch)
tree8547474277534911851c0370b417b86ba1b39aac /block/bio.c
parentblock: fix the count of PGPGOUT for WRITE_SAME (diff)
downloadwireguard-linux-9c0fb1e313aaf4e8edec22433c8b22dd308e466c.tar.xz
wireguard-linux-9c0fb1e313aaf4e8edec22433c8b22dd308e466c.zip
block: display the correct diskname for bio
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") Reviewed-by: Omar Sandoval <osandov@fb.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jiufei Xue <jiufei.xue@linux.alibaba.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bio.c')
0 files changed, 0 insertions, 0 deletions