]> www.infradead.org Git - users/hch/block.git/commit
init: factor the root_wait logic in prepare_namespace into a helper
authorChristoph Hellwig <hch@lst.de>
Sat, 20 May 2023 11:57:47 +0000 (13:57 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 31 May 2023 08:00:58 +0000 (10:00 +0200)
commita237dfb06fb1f978f20d2ec4e56593cefbd31b4e
treeb8262b0925d041d9a6c6dd84b4422e563df6fea7
parentf227ccee4f257ece5bf94fa57739f38443558d35
init: factor the root_wait logic in prepare_namespace into a helper

The root_wait logic is a bit obsfucated right now.  Expand it and move it
into a helper.

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