]> www.infradead.org Git - users/hch/block.git/commit
init: refactor devt_from_partuuid
authorChristoph Hellwig <hch@lst.de>
Sat, 14 Nov 2020 18:35:28 +0000 (19:35 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 16 Nov 2020 10:05:58 +0000 (11:05 +0100)
commita23fef6db249260e0792f2c3523d84dce076febc
tree6d2481adef9a6bd6a9d5c69a4fbde23272183e19
parentc034f2bc1b4a13a2877ab04e67860e38edbd3e18
init: refactor devt_from_partuuid

The code in devt_from_partuuid is very convoluted.  Refactor a bit by
sanitizing the goto and variable name usage.

Signed-off-by: Christoph Hellwig <hch@lst.de>
init/do_mounts.c