summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mgmt')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-mountbroker.c27
1 files changed, 1 insertions, 26 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-mountbroker.c b/xlators/mgmt/glusterd/src/glusterd-mountbroker.c
index b00145f8c11..32adf4ddd6c 100644
--- a/xlators/mgmt/glusterd/src/glusterd-mountbroker.c
+++ b/xlators/mgmt/glusterd/src/glusterd-mountbroker.c
@@ -38,7 +38,7 @@
#include "glusterd-mem-types.h"
#include "glusterd.h"
#include "glusterd-utils.h"
-
+#include "common-utils.h"
#include "glusterd-mountbroker.h"
#include "glusterd-op-sm.h"
@@ -63,31 +63,6 @@ seq_dict_foreach (dict_t *dict,
}
}
-static void
-skipwhite (char **s)
-{
- while (isspace (**s))
- (*s)++;
-}
-
-static char *
-nwstrtail (char *str, char *pattern)
-{
- for (;;) {
- skipwhite (&str);
- skipwhite (&pattern);
-
- if (*str != *pattern || !*str)
- break;
-
- str++;
- pattern++;
- }
-
- return *pattern ? NULL : str;
-}
-
-
int
parse_mount_pattern_desc (gf_mount_spec_t *mspec, char *pdesc)
#define SYNTAX_ERR -2