diff options
author | Dave Chinner <dchinner@redhat.com> | 2011-03-07 10:02:35 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2011-03-07 10:02:35 +1100 |
commit | 6a19d9393a5402e69fc52f5da8a828b8499a8265 (patch) | |
tree | 069f5cacc45194ee8e28e0cd59ac817918296f98 /fs/xfs/xfs_error.c | |
parent | a0fa2b679ecd15b4bdbb46cd2420b6affde91cf9 (diff) | |
download | op-kernel-dev-6a19d9393a5402e69fc52f5da8a828b8499a8265.zip op-kernel-dev-6a19d9393a5402e69fc52f5da8a828b8499a8265.tar.gz |
xfs: convert xfs_cmn_err to xfs_alert_tag
Continue the conversion of the old cmn_err interface be converting
all the conditional panic tag errors to xfs_alert_tag() and then
removing xfs_cmn_err().
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_error.c')
-rw-r--r-- | fs/xfs/xfs_error.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/xfs/xfs_error.c b/fs/xfs/xfs_error.c index 4c7db74..34f0e2d 100644 --- a/fs/xfs/xfs_error.c +++ b/fs/xfs/xfs_error.c @@ -162,9 +162,8 @@ xfs_error_report( inst_t *ra) { if (level <= xfs_error_level) { - xfs_cmn_err(XFS_PTAG_ERROR_REPORT, - CE_ALERT, mp, - "XFS internal error %s at line %d of file %s. Caller 0x%p\n", + xfs_alert_tag(mp, XFS_PTAG_ERROR_REPORT, + "Internal error %s at line %d of file %s. Caller 0x%p\n", tag, linenum, filename, ra); xfs_stack_trace(); |