/[grub]/grub2/fs/xfs.c
ViewVC logotype

Diff of /grub2/fs/xfs.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by marco_g, Wed Sep 28 10:07:21 2005 UTC revision 1.2 by okuji, Wed Sep 28 23:04:26 2005 UTC
# Line 119  struct grub_xfs_data Line 119  struct grub_xfs_data
119    struct grub_fshelp_node diropen;    struct grub_fshelp_node diropen;
120    
121  };  };
122    
123    #ifndef GRUB_UTIL
124    static grub_dl_t my_mod;
125    #endif
126    
127    
128    
129  /* Filetype information as used in inodes.  */  /* Filetype information as used in inodes.  */
# Line 300  grub_xfs_iterate_dir (grub_fshelp_node_t Line 305  grub_xfs_iterate_dir (grub_fshelp_node_t
305                                  grub_fshelp_node_t node))                                  grub_fshelp_node_t node))
306  {  {
307    struct grub_fshelp_node *diro = (struct grub_fshelp_node *) dir;    struct grub_fshelp_node *diro = (struct grub_fshelp_node *) dir;
308      auto int call_hook (grub_uint64_t ino, char *filename);
309            
310    int call_hook (grub_uint64_t ino, char *filename)    int call_hook (grub_uint64_t ino, char *filename)
311      {      {
# Line 370  grub_xfs_iterate_dir (grub_fshelp_node_t Line 376  grub_xfs_iterate_dir (grub_fshelp_node_t
376    
377              de = ((struct grub_xfs_dir_entry *)              de = ((struct grub_xfs_dir_entry *)
378                    (((char *) de)+ sizeof (struct grub_xfs_dir_entry) + de->len                    (((char *) de)+ sizeof (struct grub_xfs_dir_entry) + de->len
379                     + (smallino ? (sizeof (grub_uint32_t)                     + (smallino ? sizeof (grub_uint32_t)
380                                    : sizeof (grub_uint64_t))) - 1));                        : sizeof (grub_uint64_t))) - 1);
381            }            }
382          break;          break;
383        }        }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26