diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2016-06-21 22:07:04 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-06-27 08:10:36 +0200 |
commit | dc140e00a93d54370021f819fd986290e8237cbe (patch) | |
tree | 1a8c0afac1bad353e66b8682be37410d617db792 /target/linux/generic/patches-4.1 | |
parent | 459a8afff1d5448f399ab9f6844ec79f67d6f102 (diff) | |
download | upstream-dc140e00a93d54370021f819fd986290e8237cbe.tar.gz upstream-dc140e00a93d54370021f819fd986290e8237cbe.tar.bz2 upstream-dc140e00a93d54370021f819fd986290e8237cbe.zip |
kernel: fix missing break in ubi auto-mounting patch
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Reviewed-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'target/linux/generic/patches-4.1')
-rw-r--r-- | target/linux/generic/patches-4.1/492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch | 3 |
1 files changed, 2 insertions, 1 deletions
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 <daniel@makrotopia.org> --- 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 <daniel@makrotopia.org> + case -EACCES: + flags |= MS_RDONLY; + tried++; ++ break; + default: + return err; + } |