On Tue, Dec 20, 2022 at 04:53:34PM -0800, Darrick J. Wong wrote: > From: Darrick J. Wong <djwong@xxxxxxxxxx> > > Fix this broken check, which (amazingly) went unnoticed until I cranked > up the warning level /and/ built the system for s390x. > > Fixes: e96864ff4d4 ("xfs_db: enable blockget for v5 filesystems") > Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx> Aaaand, we've got an exception for 6.1 this week :) I'll add it to this Friday's 6.1 release Reviewed-by: Carlos Maiolino <cmaiolino@xxxxxxxxxx> > --- > db/check.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > > diff --git a/db/check.c b/db/check.c > index bb27ce58053..964756d0ae5 100644 > --- a/db/check.c > +++ b/db/check.c > @@ -2578,7 +2578,7 @@ process_data_dir_v2( > error++; > } > if ((be32_to_cpu(data->magic) == XFS_DIR2_BLOCK_MAGIC || > - be32_to_cpu(data->magic) == XFS_DIR2_BLOCK_MAGIC) && > + be32_to_cpu(data->magic) == XFS_DIR3_BLOCK_MAGIC) && > stale != be32_to_cpu(btp->stale)) { > if (!sflag || v) > dbprintf(_("dir %lld block %d bad stale tail count %d\n"), > -- Carlos Maiolino