[ar71xx] fix dir-825-b1 default network config after r21905
[openwrt.git] / package / busybox / patches / 480-mount_union.patch
1 --- a/util-linux/mount.c
2 +++ b/util-linux/mount.c
3 @@ -77,6 +77,10 @@
4 # include <rpc/pmap_clnt.h>
5 #endif
6
7 +#ifndef MS_UNION
8 +#define MS_UNION 0x100 /* 256: Mount on top of a union */
9 +#endif
10 +
11
12 #if defined(__dietlibc__)
13 // 16.12.2006, Sampo Kellomaki (sampo@iki.fi)
14 @@ -194,6 +198,7 @@ static const int32_t mount_options[] = {
15 /* "rslave" */ MS_SLAVE|MS_RECURSIVE,
16 /* "rprivate" */ MS_SLAVE|MS_RECURSIVE,
17 /* "runbindable" */ MS_UNBINDABLE|MS_RECURSIVE,
18 + /* "union" */ MS_UNION,
19 )
20
21 // Always understood.
22 @@ -249,6 +254,7 @@ static const char mount_option_str[] =
23 "rslave\0"
24 "rprivate\0"
25 "runbindable\0"
26 + "union" "\0"
27 )
28
29 // Always understood.
This page took 0.048402 seconds and 5 git commands to generate.