diff options
author | 2023-05-31 14:55:21 +0200 | |
---|---|---|
committer | 2023-06-05 10:55:20 -0600 | |
commit | 07d63cbb67cdb5e2a7720fdd8579b3be979c2d66 (patch) | |
tree | a573356aeff5a9584d93c89e7f3a8afb1b814e3f /include/linux/blkdev.h | |
parent | init: don't remove the /dev/ prefix from error messages (diff) | |
download | wireguard-linux-07d63cbb67cdb5e2a7720fdd8579b3be979c2d66.tar.xz wireguard-linux-07d63cbb67cdb5e2a7720fdd8579b3be979c2d66.zip |
init: handle ubi/mtd root mounting like all other root types
Assign a Root_Generic magic value for UBI/MTD root and handle the root
mounting in mount_root like all other root types. Besides making the
code more clear this also means that UBI/MTD root can be used together
with an initrd (not that anyone should care).
Also factor parsing of the root name into a helper now that it can
be easily done and will get more complicated with subsequent patches.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20230531125535.676098-11-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blkdev.h')
0 files changed, 0 insertions, 0 deletions