Re: [PATCH] block: fix a crash caused by wrong API
On 09/21/2017 01:17 PM, Shaohua Li wrote: > part_stat_show takes a part device not a disk, so we should use > part_to_disk. Oops, thanks Shaohua! Applied. -- Jens Axboe
[PATCH] 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. Fix: d62e26b3ffd2(block: pass in queue to inflight accounting) Cc: Bart Van AsscheCc: Omar Sandoval Signed-off-by: Shaohua Li --- block/partition-generic.c | 2