kernel: backport mtd support for subpartitions in DT
[oweals/openwrt.git] / target / linux / generic / pending-4.14 / 492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch
index 69a35c25e77755f5c4acb9904127efcd5077e257..3c82a064ebcb450a85fca37a60c0dc905f3c1bd2 100644 (file)
@@ -8,7 +8,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
 
 --- a/init/do_mounts.c
 +++ b/init/do_mounts.c
-@@ -438,7 +438,28 @@ retry:
+@@ -437,7 +437,28 @@ retry:
  out:
        put_page(page);
  }
@@ -38,7 +38,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
  #ifdef CONFIG_ROOT_NFS
  
  #define NFSROOT_TIMEOUT_MIN   5
-@@ -532,6 +553,10 @@ void __init mount_root(void)
+@@ -531,6 +552,10 @@ void __init mount_root(void)
                        change_floppy("root floppy");
        }
  #endif