diff options
author | Raghavendra Bhat <raghavendra@redhat.com> | 2013-10-30 14:00:18 +0530 |
---|---|---|
committer | Raghavendra Bhat <raghavendra@redhat.com> | 2013-10-30 14:01:17 +0530 |
commit | f864eb36c5eb4967793607436d7def01faf38209 (patch) | |
tree | 12484f1e90ef7a1f24af9079eda4d5b1a44728cd /xlators | |
parent | bf84081c352933f0c8b5f28cc6deb927f05b8835 (diff) |
mgmt/glusterd: do not assert if op_errstr is NULL in snapshot config ops
* op_errstr is allocated and set while returning if there is any error
Change-Id: I6e0de80d611aeeee3d25e8c20ab49b8ef42b0bf5
Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-snapshot.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-snapshot.c b/xlators/mgmt/glusterd/src/glusterd-snapshot.c index d03546757..e6251d0d1 100644 --- a/xlators/mgmt/glusterd/src/glusterd-snapshot.c +++ b/xlators/mgmt/glusterd/src/glusterd-snapshot.c @@ -408,7 +408,6 @@ glusterd_snapshot_config_limit_prevalidate (dict_t *dict, char **op_errstr, GF_ASSERT (this); GF_ASSERT (dict); - GF_ASSERT (*op_errstr); conf = this->private; @@ -3022,7 +3021,6 @@ glusterd_snapshot_config_commit (dict_t *dict, char **op_errstr, GF_ASSERT (this); GF_ASSERT (dict); - GF_ASSERT (*op_errstr); GF_ASSERT (rsp_dict); conf = this->private; |