* fs/xfs.c (grub_xfs_iterate_dir): Detect an error if part of a
directory can not be read.
+2005-10-15 Marco Gerards <mgerards@xs4all.nl>
+
+ * fs/xfs.c (grub_xfs_iterate_dir): Detect an error if part of a
+ directory can not be read.
+
2005-10-15 Yoshinori K. Okuji <okuji@enbug.org>
* configure.ac (AC_INIT): Increase the version number to 1.91.
commands/timeout.c \
commands/i386/pc/halt.c commands/i386/pc/reboot.c \
disk/loopback.c \
- fs/affs.c fs/ext2.c fs/fat.c fs/fshelp.c fs/hfs.c \
- fs/iso9660.c fs/jfs.c fs/minix.c fs/sfs.c fs/ufs.c fs/xfs.c \
+ fs/affs.c fs/ext2.c fs/fat.c fs/fshelp.c fs/hfs.c fs/iso9660.c \
+ fs/jfs.c fs/minix.c fs/sfs.c fs/ufs.c fs/xfs.c \
io/gzio.c \
kern/device.c kern/disk.c kern/dl.c kern/env.c kern/err.c \
kern/file.c kern/fs.c kern/loader.c kern/main.c kern/misc.c \
numread = grub_xfs_read_file (dir, 0,
blk << dir->data->sblock.log2_bsize,
dir->data->bsize, dirblock);
+ if (numread != dir->data->bsize)
+ return 0;
entries = (grub_be_to_cpu32 (tail->leaf_count)
- grub_be_to_cpu32 (tail->leaf_stale));