Commit b08b2737 authored by Stephen Lord's avatar Stephen Lord

[XFS] Be consistent about when we dump error messages. Make sure the

hex component of an error message only comes out when the
message does.

SGI Modid: 2.5.x-xfs:slinx:153268a
parent 1c20618e
...@@ -329,6 +329,7 @@ xfs_corruption_error( ...@@ -329,6 +329,7 @@ xfs_corruption_error(
int linenum, int linenum,
inst_t *ra) inst_t *ra)
{ {
if (level <= xfs_error_level)
xfs_hex_dump(p, 16); xfs_hex_dump(p, 16);
xfs_error_report(tag, level, mp, fname, linenum, ra); xfs_error_report(tag, level, mp, fname, linenum, ra);
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment