diff options
author | Pranith Kumar K <pranithk@gluster.com> | 2010-09-22 04:21:02 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-09-22 04:14:32 -0700 |
commit | d42f248c58b2ca73fb56a3e091c8e967e2435546 (patch) | |
tree | c7fb8d6a35206faa42e8d008f37a8aa2fc0a42e0 /xlators/mgmt/glusterd/src/glusterd-utils.h | |
parent | f47b0c55de9941823fbefe4b3a7e37179d6d4329 (diff) |
mgmt/glusterd: replace-brick validations
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 1657 (validations for replace-brick while stage op)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1657
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.h')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.h b/xlators/mgmt/glusterd/src/glusterd-utils.h index e03968dfeeb..72715a0f5df 100644 --- a/xlators/mgmt/glusterd/src/glusterd-utils.h +++ b/xlators/mgmt/glusterd/src/glusterd-utils.h @@ -158,4 +158,6 @@ glusterd_volume_count_get (void); int32_t glusterd_add_volume_to_dict (glusterd_volinfo_t *volinfo, dict_t *dict, int32_t count); +int +glusterd_is_exisiting_brick (char *hostname, char *path); #endif |