diff options
author | Darrick J. Wong <[email protected]> | 2023-04-11 19:00:02 -0700 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2023-04-11 19:00:02 -0700 |
commit | 39ab26d59f039c6190bbaa8118a8f0ffed84492a (patch) | |
tree | 7777c911884465946304bad70f194e0e0c48f0c6 /lib/test_fortify/write_overflow-strncpy-src.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 <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions