]> git.ipfire.org Git - thirdparty/grub.git/commit
fs/xfs: Fix large extent counters incompat feature support
authorEric Sandeen <sandeen@redhat.com>
Wed, 4 Dec 2024 13:50:28 +0000 (07:50 -0600)
committerDaniel Kiper <daniel.kiper@oracle.com>
Wed, 23 Apr 2025 16:10:53 +0000 (18:10 +0200)
commit4abac0ad5a7914dd3cdfff08aaac06588bf98d80
tree5e8a765a834aa74749725da3e35f5b1e1b9cb002
parenta4da71dafeea519b034beb159dfe80c486c2107c
fs/xfs: Fix large extent counters incompat feature support

When large extent counter / NREXT64 support was added to GRUB, it missed
a couple of direct reads of nextents which need to be changed to the new
NREXT64-aware helper as well. Without this, we'll have mis-reads of some
directories with this feature enabled.

The large extent counter fix likely raced on merge with commit 07318ee7e
(fs/xfs: Fix XFS directory extent parsing) which added the new direct
nextents reads just prior, causing this issue.

Fixes: aa7c1322671e (fs/xfs: Add large extent counters incompat feature support)
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Anthony Iliopoulos <ailiop@suse.com>
Reviewed-by: Jon DeVree <nuxi@vault24.org>
Reviewed-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/fs/xfs.c