From: adilger Date: Tue, 8 Jul 2008 17:41:12 +0000 (+0000) Subject: Branch b1_6 X-Git-Tag: v1_7_61~1^4 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=8c75fa6c44e96d622b05e2dc1f2ad464c7834be1;p=fs%2Flustre-release.git Branch b1_6 Don't drop LBUG/LASSERT messages (subsystem = 0) when processing the debug log. b=11617 --- diff --git a/lnet/utils/debug.c b/lnet/utils/debug.c index 39af760..bfcacb2 100644 --- a/lnet/utils/debug.c +++ b/lnet/utils/debug.c @@ -406,9 +406,8 @@ static int parse_buffer(FILE *in, FILE *out) if (rc <= 0) break; - if (hdr->ph_mask && - (!(subsystem_mask & hdr->ph_subsys) || - (!(debug_mask & hdr->ph_mask)))) { + if ((hdr->ph_subsys && !(subsystem_mask & hdr->ph_subsys)) || + (hdr->ph_mask && !(debug_mask & hdr->ph_mask))) { dropped++; continue; }