• Kai Germaschewski's avatar
    do_mounts: create_dev() before mounting · b776ff47
    Kai Germaschewski authored
    The only path where the /dev/root created by prepare_namespace() wouldn't
    be overwritten by a later create_dev() call is mount_nfs_root(), so move
    it there, so that all the create_dev() calls are now next to the
    actual mount. Also simplify mount_root() a little.
    b776ff47
do_mounts.c 8.17 KB