]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: remove the GENHD_FL_UP check in nvme_ns_remove
authorChristoph Hellwig <hch@lst.de>
Mon, 9 Aug 2021 06:40:23 +0000 (08:40 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 12 Aug 2021 16:29:36 +0000 (10:29 -0600)
commitb654276a4dd222b1fce86304b8d1b43f60045047
tree18228ccdf570cbd1b4227b889db543317bdf9499
parent71910dd7bb18c0945885d5ea84b6e7098b4fd601
nvme: remove the GENHD_FL_UP check in nvme_ns_remove

Early probe failure never reaches nvme_ns_remove, so GENHD_FL_UP must
be set at this point.  Remove the check.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210809064028.1198327-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/core.c