commit | 2551a53053de52993be8752731f084fad3cfc4d8 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Mon Jun 04 10:23:54 2018 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Mon Jun 04 18:25:05 2018 -0700 |
tree | 1956959bc2647d950a2ba4325ead3baa3271f7b8 | |
parent | 85ae01098c1a6a8e3ce908f8808f2d8f8effdbe3 [diff] |
xfs: explicitly pass buffer size to xfs_corruption_error Explicitly pass the buffer length to xfs_corruption_error() instead of assuming XFS_CORRUPTION_DUMP_LEN so that we avoid dumping off the end of the buffer. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com>