do_mounts: create_dev() before mounting
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.
Showing
Please register or sign in to comment