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: NDarrick J. Wong <djwong@kernel.org> Reviewed-by: NDave Chinner <dchinner@redhat.com> Reviewed-by: NGao Xiang <hsiangkao@linux.alibaba.com>
Showing
想要评论请 注册 或 登录