| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 8/9] xfs: print useful caller information in xfs_error_report |
| From: | Eric Sandeen <sandeen@xxxxxxxxxx> |
| Date: | Tue, 18 Feb 2014 17:52:28 -0600 |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <1392767549-25574-1-git-send-email-sandeen@xxxxxxxxxx> |
| References: | <1392767549-25574-1-git-send-email-sandeen@xxxxxxxxxx> |
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@xxxxxxxxxx>
---
fs/xfs/xfs_error.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/xfs/xfs_error.c b/fs/xfs/xfs_error.c
index 8733c59..04d8e65 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();
--
1.7.1
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 1/9] xfs: skip verification on initial "guess" superblock read, Eric Sandeen |
|---|---|
| Next by Date: | [PATCH 6/9] xfs: add helper for updating checksums on xfs_bufs, Eric Sandeen |
| Previous by Thread: | Re: [PATCH 1/9] xfs: skip verification on initial "guess" superblock read, Dave Chinner |
| Next by Thread: | Re: [PATCH 8/9] xfs: print useful caller information in xfs_error_report, Jeff Liu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |