git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
init: don't try mounting device as nfs root unless type fully matches
[pandora-kernel.git]
/
init
/
do_mounts.c
diff --git
a/init/do_mounts.c
b/init/do_mounts.c
index
db6e5ee
..
d6c229f
100644
(file)
--- a/
init/do_mounts.c
+++ b/
init/do_mounts.c
@@
-470,7
+470,7
@@
void __init change_floppy(char *fmt, ...)
void __init mount_root(void)
{
#ifdef CONFIG_ROOT_NFS
- if (
MAJOR(ROOT_DEV) == UNNAMED_MAJOR
) {
+ if (
ROOT_DEV == Root_NFS
) {
if (mount_nfs_root())
return;