Skip to content
Commit a8f3522c authored by Darrick J. Wong's avatar Darrick J. Wong
Browse files

xfs: fix endianness issue in xfs_ag_shrink_space



The AGI buffer is in big-endian format, so we must convert the
endianness to CPU format to do any comparisons.

Fixes: 46141dc8 ("xfs: introduce xfs_ag_shrink_space()")
Signed-off-by: default avatarDarrick J. Wong <djwong@kernel.org>
Reviewed-by: default avatarDave Chinner <dchinner@redhat.com>
Reviewed-by: default avatarGao Xiang <hsiangkao@linux.alibaba.com>
parent e53d3aa0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment