From 9bad9d59f0f19fe20f90c6ed80e25c7db08b3371 Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Tue, 12 Oct 2010 03:06:30 +0000 Subject: Change assert to GF_ASSERT Signed-off-by: Vijay Bellur Signed-off-by: Vijay Bellur BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971 --- xlators/protocol/legacy/transport/ib-verbs/src/ib-verbs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/protocol/legacy/transport/ib-verbs/src/ib-verbs.c') diff --git a/xlators/protocol/legacy/transport/ib-verbs/src/ib-verbs.c b/xlators/protocol/legacy/transport/ib-verbs/src/ib-verbs.c index 9020f58dbe8..92034cd1519 100644 --- a/xlators/protocol/legacy/transport/ib-verbs/src/ib-verbs.c +++ b/xlators/protocol/legacy/transport/ib-verbs/src/ib-verbs.c @@ -500,7 +500,7 @@ ib_verbs_ioq_new (char *buf, int len, struct iovec *vector, /* TODO: use mem-pool */ entry = GF_CALLOC (1, sizeof (*entry), gf_ibv_mt_ib_verbs_ioq_t); - assert (count <= (MAX_IOVEC-2)); + GF_ASSERT (count <= (MAX_IOVEC-2)); entry->header.colonO[0] = ':'; entry->header.colonO[1] = 'O'; -- cgit