diff options
author | Cliff Brake <cbrake@bec-systems.com> | 2006-11-13 18:57:30 +0000 |
---|---|---|
committer | Cliff Brake <cbrake@bec-systems.com> | 2006-11-13 18:57:30 +0000 |
commit | 40951de5f883d7a2d9d5445a9b73c3424ee245f1 (patch) | |
tree | 6a9d8dfe2fef258e9dd8b079c3517b0c1edbfbe6 /packages/busybox/slingbox-1.2.2/lazy_umount.patch | |
parent | 1c9e8b7ced097812f43cdd5782023464cef09ed8 (diff) | |
parent | e2e9b0ab1d6af8ec246cef0f9d848083dff2b8e0 (diff) |
merge of '9ebe19c38b13611632684c440b048e45471bf916'
and 'e0d42dfa54011bb501a5a723ec0554c757bfc933'
Diffstat (limited to 'packages/busybox/slingbox-1.2.2/lazy_umount.patch')
-rw-r--r-- | packages/busybox/slingbox-1.2.2/lazy_umount.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/busybox/slingbox-1.2.2/lazy_umount.patch b/packages/busybox/slingbox-1.2.2/lazy_umount.patch new file mode 100644 index 0000000000..345272b8c3 --- /dev/null +++ b/packages/busybox/slingbox-1.2.2/lazy_umount.patch @@ -0,0 +1,27 @@ +---busybox-1.2.2/util-linux/umount.c~ 2006-11-04 17:59:20.000000000 -0600 ++++ busybox-1.2.2/util-linux/umount.c 2006-11-04 18:03:55.000000000 -0600 +@@ -16,13 +16,14 @@ + #include <errno.h> + #include <getopt.h> + +-#define OPTION_STRING "flDnravd" ++#define OPTION_STRING "flDnravdL" + #define OPT_FORCE 1 + #define OPT_LAZY 2 + #define OPT_DONTFREELOOP 4 + #define OPT_NO_MTAB 8 + #define OPT_REMOUNT 16 + #define OPT_ALL (ENABLE_FEATURE_UMOUNT_ALL ? 32 : 0) ++#define OPT_LINKSYS_LAZY 256 + + int umount_main(int argc, char **argv) + { +@@ -45,6 +46,8 @@ + argc -= optind; + argv += optind; + ++ if (opt & OPT_LINKSYS_LAZY) opt |= OPT_LAZY; /* -L same as -l */ ++ + doForce = MAX((opt & OPT_FORCE), (opt & OPT_LAZY)); + + /* Get a list of mount points from mtab. We read them all in now mostly |