From dc140e00a93d54370021f819fd986290e8237cbe Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Tue, 21 Jun 2016 22:07:04 +0200 Subject: kernel: fix missing break in ubi auto-mounting patch Signed-off-by: Hauke Mehrtens Reviewed-by: Jo-Philipp Wich --- .../492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'target/linux/generic/patches-4.4/492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch') diff --git a/target/linux/generic/patches-4.4/492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch b/target/linux/generic/patches-4.4/492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch index d21e6d21ce..ab8b8bb0a2 100644 --- a/target/linux/generic/patches-4.4/492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch +++ b/target/linux/generic/patches-4.4/492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch @@ -11,7 +11,7 @@ Signed-off-by: Daniel Golle --- a/init/do_mounts.c +++ b/init/do_mounts.c -@@ -438,7 +438,27 @@ retry: +@@ -438,7 +438,28 @@ retry: out: put_page(page); } @@ -29,6 +29,7 @@ Signed-off-by: Daniel Golle + case -EACCES: + flags |= MS_RDONLY; + tried++; ++ break; + default: + return err; + } @@ -40,7 +41,7 @@ Signed-off-by: Daniel Golle #ifdef CONFIG_ROOT_NFS #define NFSROOT_TIMEOUT_MIN 5 -@@ -532,6 +552,10 @@ void __init mount_root(void) +@@ -532,6 +553,10 @@ void __init mount_root(void) change_floppy("root floppy"); } #endif -- cgit v1.2.3