diff options
author | Darrick J. Wong <djwong@kernel.org> | 2023-04-11 19:00:02 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2023-04-11 19:00:02 -0700 |
commit | 39ab26d59f039c6190bbaa8118a8f0ffed84492a (patch) | |
tree | 7777c911884465946304bad70f194e0e0c48f0c6 /fs/xfs/libxfs/xfs_alloc.c | |
parent | 2b30cc0bf0589d1ea0506c019b9b81de77535c87 (diff) |
xfs: return a failure address from xfs_rmap_irec_offset_unpack
Currently, xfs_rmap_irec_offset_unpack returns only 0 or -EFSCORRUPTED.
Change this function to return the code address of a failed conversion
in preparation for the next patch, which standardizes localized record
checking and reporting code.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_alloc.c')
0 files changed, 0 insertions, 0 deletions