fs/xfs: Propagate incorrect inode error from grub_xfs_read_inode
authorEgor Ignatov <egori@altlinux.org>
Thu, 23 Jan 2025 17:44:15 +0000 (20:44 +0300)
committerAurelien Jarno <aurel32@debian.org>
Thu, 30 Apr 2026 19:02:01 +0000 (21:02 +0200)
commit65592fed02c3aa8faa9e1ae77b59ddcd9022c76e
treed836f693d46c2785f3f3448fbc766f0d933b33ef
parent68038cc61dcf5f94d0becb6611622a169510dc7e
fs/xfs: Propagate incorrect inode error from grub_xfs_read_inode

The incorrect inode error from grub_xfs_read_inode did not propagate because
grub_print_error() resetted grub_errno, and grub_xfs_iterate_dir() did not
handle it at all.

Signed-off-by: Egor Ignatov <egori@altlinux.org>
Gbp-Pq: Topic cve-2025-jan
Gbp-Pq: Name fs-xfs-Propagate-incorrect-inode-error-from-grub_xfs_read.patch
grub-core/fs/xfs.c