path: root/libglusterfs/src/common-utils.h
diff options
authorKrishnan Parthasarathi <>2012-05-16 18:22:35 +0530
committerAnand Avati <>2012-05-19 01:29:17 -0700
commit43ff1680d9135bbc85dad24f51f02996d22580df (patch)
treeb82507038ae2dc85f93ac3c29e01e13bd2cd9a08 /libglusterfs/src/common-utils.h
parent43d9661f4ad1566981676d08f6ddf02109ca5757 (diff)
common-utils: Added C wrapper to mkdir(1) -p functionality.
- Modified glusterd-rebalance to use mkdir_p C wrapper. Change-Id: If9a00b8c0e00af644b9c3e64a5fc94cf6201827c Signed-off-by: Krishnan Parthasarathi <> Reviewed-on: Tested-by: Gluster Build System <> Reviewed-by: Anand Avati <>
Diffstat (limited to 'libglusterfs/src/common-utils.h')
1 files changed, 2 insertions, 0 deletions
diff --git a/libglusterfs/src/common-utils.h b/libglusterfs/src/common-utils.h
index d58802912..69d57c8d4 100644
--- a/libglusterfs/src/common-utils.h
+++ b/libglusterfs/src/common-utils.h
@@ -392,6 +392,8 @@ memdup (const void *ptr, size_t size)
return newptr;
+mkdir_p (char *path, mode_t mode, gf_boolean_t allow_symlinks, int *start);
* rounds up nr to power of two. If nr is already a power of two, just returns
* nr