X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Fgeneric%2Fpatches-4.1%2F492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch;h=f6c71a2f639f723171d58eefdf7f27feee0ca776;hp=005de3fcae4a54c5dd5aada2bfba95db3af65d05;hb=dc140e00a93d54370021f819fd986290e8237cbe;hpb=459a8afff1d5448f399ab9f6844ec79f67d6f102 diff --git a/target/linux/generic/patches-4.1/492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch b/target/linux/generic/patches-4.1/492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch index 005de3fcae..f6c71a2f63 100644 --- a/target/linux/generic/patches-4.1/492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch +++ b/target/linux/generic/patches-4.1/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; + }