public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: STABLE3 - qdisk: remove build DEBUG option in favour of runtime
@ 2009-05-30 11:27 Fabio M. Di Nitto
0 siblings, 0 replies; only message in thread
From: Fabio M. Di Nitto @ 2009-05-30 11:27 UTC (permalink / raw)
To: cluster-cvs-relay
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;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-05-30 11:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-30 11:27 cluster: STABLE3 - qdisk: remove build DEBUG option in favour of runtime Fabio M. Di Nitto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).