Darrick J. Wong a8f3522c9a 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: 46141dc891f7 ("xfs: introduce xfs_ag_shrink_space()")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
2021-06-21 17:39:09 -07:00
..
2019-11-07 13:00:53 -08:00
2021-04-15 09:35:51 -07:00
2021-06-02 10:48:24 +10:00
2021-06-02 10:48:24 +10:00
2021-04-15 09:35:51 -07:00
2021-04-15 09:35:51 -07:00
2021-05-20 08:31:22 -07:00
2021-04-15 09:35:51 -07:00
2021-04-15 09:35:51 -07:00
2021-06-02 10:48:24 +10:00
2021-06-03 15:56:04 -07:00
2021-06-03 15:56:04 -07:00