diff options
| author | 2018-01-08 10:51:03 -0800 | |
|---|---|---|
| committer | 2018-01-08 10:54:46 -0800 | |
| commit | bc1a09b8e334bf5fca1d6727aec538dcff957961 (patch) | |
| tree | e870d817d5c3b4a97b1201c81d80e39bff66b763 /fs/xfs/libxfs/xfs_inode_buf.c | |
| parent | xfs: have buffer verifier functions report failing address (diff) | |
| download | wireguard-linux-bc1a09b8e334bf5fca1d6727aec538dcff957961.tar.xz wireguard-linux-bc1a09b8e334bf5fca1d6727aec538dcff957961.zip | |
xfs: refactor verifier callers to print address of failing check
Refactor the callers of verifiers to print the instruction address of a
failing check.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_inode_buf.c')
| -rw-r--r-- | fs/xfs/libxfs/xfs_inode_buf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_inode_buf.c b/fs/xfs/libxfs/xfs_inode_buf.c index 607dcca30668..a43a3702af93 100644 --- a/fs/xfs/libxfs/xfs_inode_buf.c +++ b/fs/xfs/libxfs/xfs_inode_buf.c @@ -113,7 +113,7 @@ xfs_inode_buf_verify( return; } - xfs_verifier_error(bp, -EFSCORRUPTED); + xfs_verifier_error(bp, -EFSCORRUPTED, __this_address); #ifdef DEBUG xfs_alert(mp, "bad inode magic/vsn daddr %lld #%d (magic=%x)", |
