From: David Teigland Date: Wed, 16 Jan 2008 17:03:41 +0000 (-0600) Subject: dlm: change error message to debug X-Git-Tag: v2.6.25-rc1~1139^2~4 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=594199ebaae5d77f025974dfcfa6651cc81325a8;p=linux-2.6-omap-h63xx.git dlm: change error message to debug The invalid lockspace messages are normal and can appear relatively often. They should be suppressed without debugging enabled. Signed-off-by: David Teigland --- diff --git a/fs/dlm/lock.c b/fs/dlm/lock.c index bc2e4ba4c1b..7ee7c7c5545 100644 --- a/fs/dlm/lock.c +++ b/fs/dlm/lock.c @@ -3857,8 +3857,9 @@ void dlm_receive_buffer(struct dlm_header *hd, int nodeid) ls = dlm_find_lockspace_global(hd->h_lockspace); if (!ls) { - log_print("invalid h_lockspace %x from %d cmd %d type %d", - hd->h_lockspace, nodeid, hd->h_cmd, type); + if (dlm_config.ci_log_debug) + log_print("invalid lockspace %x from %d cmd %d type %d", + hd->h_lockspace, nodeid, hd->h_cmd, type); if (hd->h_cmd == DLM_RCOM && type == DLM_RCOM_STATUS) dlm_send_ls_not_ready(nodeid, rc);