fs: Add device parameter for Linux root= option
When registering a filesystem device add a device parameter suitable
for the Linux root= option to boot from exactly this filesystem. Currently
the fs layer sets this parameter to the root=PARTUUID= mechanism if a
partuuid is available. Other filesystems like NFS and UBIFS which do
not have a PARTUUID can overwrite this.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent bc31d85 commit e9db2079a55162821e4566efdef5b3d3b5028e88
@Sascha Hauer Sascha Hauer authored on 17 Jun 2015
Showing 2 changed files
View
fs/fs.c
View
include/fs.h