diff options
author | Shaohua Li <shli@fb.com> | 2017-09-21 12:17:16 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-09-25 08:56:05 -0600 |
commit | f5c156c4c29a3d87176dd6e5c099388e187ec29b (patch) | |
tree | 622e290bba59c70440b761655fe430c884f04c34 /scripts/extract-cert.c | |
parent | 332391a9935da939319e473b4680e173df75afcf (diff) |
block: fix a crash caused by wrong API
part_stat_show takes a part device not a disk, so we should use
part_to_disk.
Fixes: d62e26b3ffd2("block: pass in queue to inflight accounting")
Cc: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Omar Sandoval <osandov@fb.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/extract-cert.c')
0 files changed, 0 insertions, 0 deletions