summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2011-05-26 03:32:24 +0000
committerAnand Avati <avati@gluster.com>2011-05-26 08:55:10 -0700
commit6ff690a54ea7d26089be29470e499292971dd30e (patch)
treef07a9aee5cad0c38e2b6848ed5e8ecc9da8d9ab4 /cli
parent19b08a3b627cb8a7f74fc608bfcaddc4e063aa6f (diff)
Revert "temporary workaround for mtab update race thingy"
This reverts commit 59b9ab45a01d52e197ab6f76fd71e64910396d57. [c5d781e0 made this temporary workaround unnecessary] Conflicts: xlators/features/marker/utils/syncdaemon/resource.py Signed-off-by: Csaba Henk <csaba@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2690 (race between mtab updates of mount and umount) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2690
Diffstat (limited to 'cli')
-rw-r--r--cli/src/cli-rpc-ops.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c
index 83abb865b..24afb66f0 100644
--- a/cli/src/cli-rpc-ops.c
+++ b/cli/src/cli-rpc-ops.c
@@ -1390,9 +1390,7 @@ print_limit_list (char *volname, char *limit_list)
unmount:
memset (&cmd_str, 0, sizeof (cmd_str));
-
#if GF_LINUX_HOST_OS
- usleep (200000);
snprintf (cmd_str, sizeof (cmd_str), "umount -l %s", mountdir);
#else
snprintf (cmd_str, sizeof (cmd_str), "umount %s", mountdir);