summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_error.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-06-22 09:44:02 +1000
committerDave Chinner <david@fromorbit.com>2015-06-22 09:44:02 +1000
commitfc51c2b5f8ce962355bee19aa58451bb878f0663 (patch)
tree94e40064f4a1a435c27c21ea8430a257834eaa17 /fs/xfs/xfs_error.c
parentdb9d67d6b09e5d86da0c33da0d9dcb7998653c4f (diff)
downloadlwn-fc51c2b5f8ce962355bee19aa58451bb878f0663.tar.gz
lwn-fc51c2b5f8ce962355bee19aa58451bb878f0663.zip
xfs: remove inst_t
We can simply use a void pointer to pass a long return addresses in the debugging helpers. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_error.c')
-rw-r--r--fs/xfs/xfs_error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_error.c b/fs/xfs/xfs_error.c
index 338e50bbfd1e..74d0e5966ebc 100644
--- a/fs/xfs/xfs_error.c
+++ b/fs/xfs/xfs_error.c
@@ -127,7 +127,7 @@ xfs_error_report(
struct xfs_mount *mp,
const char *filename,
int linenum,
- inst_t *ra)
+ void *ra)
{
if (level <= xfs_error_level) {
xfs_alert_tag(mp, XFS_PTAG_ERROR_REPORT,
@@ -146,7 +146,7 @@ xfs_corruption_error(
void *p,
const char *filename,
int linenum,
- inst_t *ra)
+ void *ra)
{
if (level <= xfs_error_level)
xfs_hex_dump(p, 64);