diff options
author | Atin Mukherjee <amukherj@redhat.com> | 2019-04-08 18:54:46 +0530 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2019-04-11 15:19:30 +0000 |
commit | 7108913337f24d3d7a39d919a29872fe50072cf4 (patch) | |
tree | 826ecbcb91847225db611e6da5ea5767fab59b97 /xlators/mgmt/glusterd/src/glusterd-utils.c | |
parent | 35dd17e222fe172866e15824e5ac9d242382178c (diff) |
glusterd: remove glusterd_check_volume_exists() call
As the same functionality is covered in glusterd_volinfo_find
Updates: bz#1193929
Change-Id: I2308c5fa9b2ca9edaa95f172d0bd914103808c36
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-utils.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c index 565f8b7dc3b..87914c4799c 100644 --- a/xlators/mgmt/glusterd/src/glusterd-utils.c +++ b/xlators/mgmt/glusterd/src/glusterd-utils.c @@ -569,14 +569,6 @@ out: return ret; } -gf_boolean_t -glusterd_check_volume_exists(char *volname) -{ - glusterd_volinfo_t *volinfo = NULL; - - return (glusterd_volinfo_find(volname, &volinfo) == 0); -} - glusterd_volinfo_t * glusterd_volinfo_unref(glusterd_volinfo_t *volinfo) { |