summaryrefslogtreecommitdiff
path: root/package/busybox/patches/009-nfs-remount.patch
blob: e15de1a5afb7d2b2007cd3d41e830ca130d1746a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);