xfs: fix xfs_fsblock_t tracing
authorChristoph Hellwig <hch@infradead.org>
Mon, 15 Feb 2010 22:02:19 +0000 (22:02 +0000)
committerAlex Elder <aelder@sgi.com>
Mon, 1 Mar 2010 22:35:17 +0000 (16:35 -0600)
commitf7008d0aeba21396b3422df135b692ae701bd0c8
tree6c51cbd3f7377f0394551988ce3b646fe2b31133
parent024910cbac323ab2e5ad6d7fa7958799b04b9728
xfs: fix xfs_fsblock_t tracing

Using a static buffer in xfs_fmtfsblock means we can corrupt traces if
multiple CPUs hit this code path at the same.  Just remove xfs_fmtfsblock
for now and print the block number purely numerical.  If we want the
NULLFSBLOCK and NULLSTARTBLOCK formatting back the best way would be
a decoding plugin in the trace-cmd userspace command.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/linux-2.6/xfs_trace.c
fs/xfs/linux-2.6/xfs_trace.h