Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102145
b: refs/heads/master
c: 2d62f48
h: refs/heads/master
i:
  102143: 3327e60
v: v3
  • Loading branch information
Adrian Hunter authored and Artem Bityutskiy committed Jul 14, 2008
1 parent 9e8021b commit 64a260e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4ee6afd34409d296782a5b667d7991b1050e910a
refs/heads/master: 2d62f488585405bc9108c47cb06957397cfd1059
3 changes: 2 additions & 1 deletion trunk/init/do_mounts.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,8 @@ void __init prepare_namespace(void)

if (saved_root_name[0]) {
root_device_name = saved_root_name;
if (!strncmp(root_device_name, "mtd", 3)) {
if (!strncmp(root_device_name, "mtd", 3) ||
!strncmp(root_device_name, "ubi", 3)) {
mount_block_root(root_device_name, root_mountflags);
goto out;
}
Expand Down

0 comments on commit 64a260e

Please sign in to comment.