-
由 Dinghao Liu 提交于
Once we have called device_initialize(), we should use put_device() to give up the reference on error, just like what we have done on failure of device_add(). Signed-off-by: NDinghao Liu <dinghao.liu@zju.edu.cn> Reviewed-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NJens Axboe <axboe@kernel.dk>
ef49d40b