On Mon, 18 Oct 2021 18:34:22 +0800, Zqiang wrote: > When adding partitions to the disk, the reference count of the disk > object is increased. then alloc partition device and called > device_add(), if the device_add() return error, the reference > count of the disk object will be reduced twice, at put_device(pdev) > and put_disk(disk). this leads to the end of the object's life cycle > prematurely, and trigger following calltrace. > > [...] Applied, thanks! [1/1] block: fix incorrect references to disk objects commit: 9fbfabfda25d8774c5a08634fdd2da000a924890 Best regards, -- Jens Axboe