]> git.baikalelectronics.ru Git - kernel.git/commit
block: cleanup del_gendisk a bit
authorChristoph Hellwig <hch@lst.de>
Thu, 29 Oct 2020 14:58:24 +0000 (15:58 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Nov 2020 15:14:29 +0000 (08:14 -0700)
commit2c1868416624cbd7507a4be4c57ac433aebfcef9
tree89050459e9ad8e604aa76a581671069a7846e749
parent228f9abbf79d4a76b7ecc41a00a447fe3a7b11f1
block: cleanup del_gendisk a bit

Merge three hidden gendisk checks into one.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/genhd.c