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)
committerMate Kukri <mate.kukri@canonical.com>
Tue, 23 Jun 2026 15:04:12 +0000 (16:04 +0100)
commit8933adeefb2660c53a0090779015d81fa735d835
treeb0110a36df50e2ae52c587434763e3a12c2b5682
parentf3fc492aa22f3264fa8d1f745e4063bad4969879
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 upstream
Gbp-Pq: Name fs-xfs-Propagate-incorrect-inode-error-from-grub_xfs_read.patch
grub-core/fs/xfs.c