Re: [PATCH 3/3] fs/xfs: Propagate incorrect inode error from grub_xfs_read_inode

2025-02-24 Thread Daniel Kiper
On Thu, Jan 23, 2025 at 08:44:15PM +0300, Egor Ignatov wrote: > The incorrect inode error from grub_xfs_read_inode did not propagate because Something is off here. You drop two grub_print_error() calls but mention one after grub_xfs_read_inode() call only. So? > grub_print_error() resetted grub_e

[PATCH 3/3] fs/xfs: Propagate incorrect inode error from grub_xfs_read_inode

2025-01-23 Thread Egor Ignatov
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 --- grub-core/fs/xfs.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff