commit | 81f0c2ef41b02185928563899cd4d618ffc7eebf | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Jun 28 19:18:48 2022 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Jun 28 11:32:42 2022 -0600 |
tree | 255ec6f3b4c748e5f285a242c9b7038c08ad28ec | |
parent | 4a8d14bba486cca6880062f1ef240cf1d45f3367 [diff] |
block: remove the extra gendisk reference in __blk_mq_register_dev kobject_add already grabs a reference to the parent, no need to have another one. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Link: https://lore.kernel.org/r/20220628171850.1313069-5-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>