Skip to content
Commit eb60fa10 authored by Tejun Heo's avatar Tejun Heo Committed by Jens Axboe
Browse files

block: fix add_partition() error path



Partition stats structure was not freed on devt allocation failure
path.  Fix it.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 4e14e833
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment