commit | c5638ab417660e2c5d681aed5ce76df992982dbb | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Jul 16 16:33:07 2020 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Jul 16 09:35:44 2020 -0600 |
tree | a9b08a051c772e4f700544ed6bff6597add7af88 | |
parent | e791ee6885f7e9e32c3e551cadea8bc6effaae1e [diff] |
block: simplify the restart case in __blkdev_get Insted of duplicating all the cleanup logic jump to the code that cleans up anyway, and restart after that. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>