From: Eric Sandeen Date: Thu, 27 Feb 2014 04:21:37 +0000 (+1100) Subject: xfs: print useful caller information in xfs_error_report X-Git-Tag: v3.15-rc1~90^2~3^2~1 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=db9355c296eb71271bb3807ad4a9d43f6b3c35d3;p=users%2Fjedix%2Flinux-maple.git 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 Reviewed-by: Jie Liu Signed-off-by: Dave Chinner --- diff --git a/fs/xfs/xfs_error.c b/fs/xfs/xfs_error.c index a8b2ecb5f436a..edac5b057d287 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();