Thread (4 messages) 4 messages, 3 authors, 2021-06-22

Re: [PATCH] xfs: fix endianness issue in xfs_ag_shrink_space

From: Gao Xiang <hidden>
Date: 2021-06-22 03:16:53

On Mon, Jun 21, 2021 at 03:34:36PM -0700, Darrick J. Wong wrote:
From: Darrick J. Wong <djwong@kernel.org>

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>
---
LGTM,
Reviewed-by: Gao Xiang <redacted>

Thanks,
Gao Xiang
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help