Bean <[EMAIL PROTECTED]> writes: Hi!
> change in this new patch: > > Fix small bug in xfs > Fix a bug in fshelp > Define NESTED_FUNC_ATTR as regparm(1) and us it for call_hook. > > With this patch, i'm able to load a highly sparse file about 200M. > > > 2008-02-01 Bean <[EMAIL PROTECTED]> > > * fs/xfs.c (grub_xfs_sblock): New member log2_dirblk. > (grub_xfs_btree_node): New structure. > (grub_xfs_btree_root): New structure. > (grub_xfs_inode): New members nblocks, extsize, nextents and btree. > (GRUB_XFS_EXTENT_OFFSET): Use exts instead of inode->data.extents. > (GRUB_XFS_EXTENT_BLOCK): Likewise. > (GRUB_XFS_EXTENT_SIZE): Likewise. > (grub_xfs_read_block): Support btree format type. > (grub_xfs_iterate_dir): Use NESTED_FUNC_ATTR in call_hook. > Use directory block as basic unit. > > * fs/fshelp.c (grub_fshelp_read_file): Bug fix for sparse block. > > * aclocal.m4 (grub_i386_CHECK_REGPARM_BUG): Define NESTED_FUNC_ATTR as > __attribute__ ((__regparm__ (1))). Looks fine to me! :-) -- Marco _______________________________________________ Grub-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/grub-devel
