diff options
author | Pranith K <pranithk@gluster.com> | 2010-10-12 03:08:46 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-10-12 02:39:06 -0700 |
commit | a6304aec8c366ad7853f95348aa6c73a0b873678 (patch) | |
tree | cbce6540c22e43aead754becb49407d2c3803543 /xlators/mgmt/glusterd/src/glusterd-utils.h | |
parent | 9bad9d59f0f19fe20f90c6ed80e25c7db08b3371 (diff) |
mgmt/glusterd: create brick path if does not exist
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 971 (dynamic volume management)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.h')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.h b/xlators/mgmt/glusterd/src/glusterd-utils.h index 0e102a4ee..5797c35cf 100644 --- a/xlators/mgmt/glusterd/src/glusterd-utils.h +++ b/xlators/mgmt/glusterd/src/glusterd-utils.h @@ -227,4 +227,7 @@ glusterd_set_rb_status (glusterd_volinfo_t *volinfo, gf_rb_status_t status); int glusterd_rb_check_bricks (glusterd_volinfo_t *volinfo, glusterd_brickinfo_t *src_brick, glusterd_brickinfo_t *dst_brick); +int +glusterd_brick_create_path (char *host, char *path, mode_t mode, + char **op_errstr); #endif |