This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
cluster: STABLE3 - qdisk: remove build DEBUG option in favour ofruntime
- From: "Fabio M. Di Nitto" <fabbione at fedoraproject dot org>
- To: cluster-cvs-relay at redhat dot com
- Date: Sat, 30 May 2009 11:27:08 +0000 (UTC)
- Subject: cluster: STABLE3 - qdisk: remove build DEBUG option in favour ofruntime
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=561efc990f5098d8f3cef0623b1edd22aa68b130
Commit: 561efc990f5098d8f3cef0623b1edd22aa68b130
Parent: 33814e14c0477835ba0787f58afc4caa00f53119
Author: Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate: Sat May 30 13:25:03 2009 +0200
Committer: Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Sat May 30 13:26:53 2009 +0200
qdisk: remove build DEBUG option in favour of runtime
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
cman/qdisk/disk.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/cman/qdisk/disk.c b/cman/qdisk/disk.c
index 680da2f..a26707d 100644
--- a/cman/qdisk/disk.c
+++ b/cman/qdisk/disk.c
@@ -359,11 +359,9 @@ diskRawReadShadow(target_info_t *disk, off_t readOffset, char *buf, int len)
data = (char *)buf + sizeof(*hdrp);
if (header_verify(hdrp, data, len)) {
-#ifdef DEBUG
logt_print(LOG_DEBUG, "diskRawReadShadow: bad CRC32, "
"offset = %d len = %d\n",
(int) readOffset, len);
-#endif
errno = EPROTO;
return -1;
}