Skip to content

Commit

Permalink
Change the gating of a debug message in the do_xarray_dump_cb()
Browse files Browse the repository at this point in the history
function from CRASHDEBUG(0) to CRASHDEBUG(1).  Without the patch,
users of the XArray callback functionality may see messages of the
sort "entry has XARRAY_TAG_MASK bits set: 239ab0024001" without
setting a debug number.
(anderson@redhat.com)
  • Loading branch information
Dave Anderson committed May 21, 2019
1 parent 3370ae0 commit 1f6b1ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions filesys.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* filesys.c - core analysis suite
*
* Copyright (C) 1999, 2000, 2001, 2002 Mission Critical Linux, Inc.
* Copyright (C) 2002-2018 David Anderson
* Copyright (C) 2002-2018 Red Hat, Inc. All rights reserved.
* Copyright (C) 2002-2019 David Anderson
* Copyright (C) 2002-2019 Red Hat, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -4195,7 +4195,7 @@ static void do_xarray_dump_cb(ulong node, ulong slot, const char *path,
/* Caller defined operation */
if (!cb(slot)) {
if (slot & XARRAY_TAG_MASK) {
if (CRASHDEBUG(0))
if (CRASHDEBUG(1))
error(INFO, "entry has XARRAY_TAG_MASK bits set: %lx\n", slot);
return;
}
Expand Down

0 comments on commit 1f6b1ce

Please sign in to comment.