summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_error.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2014-02-27 05:21:37 +0100
committerDave Chinner <david@fromorbit.com>2014-02-27 05:21:37 +0100
commitdb9355c296eb71271bb3807ad4a9d43f6b3c35d3 (patch)
tree654bd7b6f0fbd0c72dd448f59f5719ae261ec73c /fs/xfs/xfs_error.c
parentxfs: add xfs_verifier_error() (diff)
downloadlinux-db9355c296eb71271bb3807ad4a9d43f6b3c35d3.tar.xz
linux-db9355c296eb71271bb3807ad4a9d43f6b3c35d3.zip
xfs: print useful caller information in xfs_error_report
xfs_error_report used to just print the hex address of the caller; %pF will give us something more human-readable. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Jie Liu <jeff.liu@oracle.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_error.c')
-rw-r--r--fs/xfs/xfs_error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_error.c b/fs/xfs/xfs_error.c
index a8b2ecb5f436..edac5b057d28 100644
--- a/fs/xfs/xfs_error.c
+++ b/fs/xfs/xfs_error.c
@@ -156,7 +156,7 @@ xfs_error_report(
{
if (level <= xfs_error_level) {
xfs_alert_tag(mp, XFS_PTAG_ERROR_REPORT,
- "Internal error %s at line %d of file %s. Caller 0x%p",
+ "Internal error %s at line %d of file %s. Caller %pF",
tag, linenum, filename, ra);
xfs_stack_trace();