This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cluster: master - qdisk: remove build DEBUG option in favour ofruntime


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=5c9407043283db699d68643c456ed3014857da15
Commit:        5c9407043283db699d68643c456ed3014857da15
Parent:        05c28ced4f99833c5ab8fac9f65d156d53c76467
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:25:03 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 5aad792..8e9bb4b 100644
--- a/cman/qdisk/disk.c
+++ b/cman/qdisk/disk.c
@@ -362,11 +362,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;
 	}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]