diff options
author | Christoph Hellwig <hch@lst.de> | 2021-07-27 08:25:17 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-08-02 21:37:28 +0200 |
commit | 1d7035478f64c040441c9cb2aa32e0d7fae526d2 (patch) | |
tree | 24444a63eea97b89b8a15abfa1746a66f27e9a9c /block/blk-rq-qos.h | |
parent | block: simplify printing the device names disk_stack_limits (diff) | |
download | linux-1d7035478f64c040441c9cb2aa32e0d7fae526d2.tar.xz linux-1d7035478f64c040441c9cb2aa32e0d7fae526d2.zip |
block: simplify disk name formatting in check_partition
disk_name for partition 0 just copies out the disk_name field. Replace
the call to disk_name with a %s format specifier.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20210727062518.122108-6-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-rq-qos.h')
0 files changed, 0 insertions, 0 deletions