diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-06-12 15:59:59 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-06-12 15:59:59 +0200 |
commit | 7aa5f9e538ffe62ca16bb305d3fb5276443817c1 (patch) | |
tree | fb86eed19b3449f01df5c406b967d8e0be41ab60 /package | |
parent | 0ea897e395144229eb89180a6469b67260624a58 (diff) |
fix remount nfsroot bug
Diffstat (limited to 'package')
-rw-r--r-- | package/busybox/patches/009-nfs-remount.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/package/busybox/patches/009-nfs-remount.patch b/package/busybox/patches/009-nfs-remount.patch new file mode 100644 index 000000000..e15de1a5a --- /dev/null +++ b/package/busybox/patches/009-nfs-remount.patch @@ -0,0 +1,13 @@ +diff -Nur busybox-1.18.4.orig/util-linux/mount.c busybox-1.18.4/util-linux/mount.c +--- busybox-1.18.4.orig/util-linux/mount.c 2011-03-13 02:45:40.000000000 +0100 ++++ busybox-1.18.4/util-linux/mount.c 2011-05-15 03:12:40.000000000 +0200 +@@ -1129,6 +1129,9 @@ + continue; + case 20: // "addr" - ignore + continue; ++ case -1: // unknown ++ if (vfsflags & MS_REMOUNT) ++ continue; + } + + val = xatoi_positive(opteq); |