diff options
author | Darrick J. Wong | 2018-06-04 19:23:54 +0200 |
---|---|---|
committer | Darrick J. Wong | 2018-06-05 03:25:05 +0200 |
commit | 2551a53053de52993be8752731f084fad3cfc4d8 (patch) | |
tree | 1956959bc2647d950a2ba4325ead3baa3271f7b8 /fs/hfsplus/dir.c | |
parent | xfs: don't assert when on-disk btree pointers are garbage (diff) | |
download | kernel-qcow2-linux-2551a53053de52993be8752731f084fad3cfc4d8.tar.gz kernel-qcow2-linux-2551a53053de52993be8752731f084fad3cfc4d8.tar.xz kernel-qcow2-linux-2551a53053de52993be8752731f084fad3cfc4d8.zip |
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>
Diffstat (limited to 'fs/hfsplus/dir.c')
0 files changed, 0 insertions, 0 deletions