init: move the nfs/cifs/ram special cases out of name_to_dev_t
authorChristoph Hellwig <hch@lst.de>
Wed, 31 May 2023 12:55:23 +0000 (14:55 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 5 Jun 2023 16:55:20 +0000 (10:55 -0600)
commitc0c1a7dcb6f5db4500e6574294674213bc24940c
tree56cb7a924407b6d86afcf1a059ef55b1a1438be5
parent3701c600a3e735b9fbac6f7a73e4c086090c97ca
init: move the nfs/cifs/ram special cases out of name_to_dev_t

The nfs/cifs/ram special case only needs to be parsed once, and only in
the boot code.  Move them out of name_to_dev_t and into
prepare_namespace.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20230531125535.676098-13-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Documentation/admin-guide/kernel-parameters.txt
init/do_mounts.c