/[hurd]/hurd/ext2fs/ext2fs.c
ViewVC logotype

Diff of /hurd/ext2fs/ext2fs.c

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

revision 1.55 by roland, Sun Jun 2 21:40:56 2002 UTC revision 1.55.2.1 by ams, Thu Aug 25 18:34:18 2005 UTC
# Line 1  Line 1 
1  /* Main entry point for the ext2 file system translator  /* Main entry point for the ext2 file system translator
2    
3     Copyright (C) 1994,95,96,97,98,99,2002 Free Software Foundation, Inc.     Copyright (C) 1994,95,96,97,98,99,2002,05 Free Software Foundation, Inc.
4    
5     Converted for ext2fs by Miles Bader <miles@gnu.ai.mit.edu>     Converted for ext2fs by Miles Bader <miles@gnu.ai.mit.edu>
6    
# Line 106  parse_opt (int key, char *arg, struct ar Line 106  parse_opt (int key, char *arg, struct ar
106        if (values == 0)        if (values == 0)
107          return ENOMEM;          return ENOMEM;
108        state->hook = values;        state->hook = values;
109        bzero (values, sizeof *values);        memset (values, 0, sizeof *values);
110        values->sb_block = SBLOCK_BLOCK;        values->sb_block = SBLOCK_BLOCK;
111        break;        break;
112    
# Line 181  main (int argc, char **argv) Line 181  main (int argc, char **argv)
181    /* Map the entire disk. */    /* Map the entire disk. */
182    create_disk_pager ();    create_disk_pager ();
183    
184    pokel_init (&global_pokel, diskfs_disk_pager, disk_image);    pokel_init (&global_pokel, diskfs_disk_pager, disk_cache);
185    
186    get_hypermetadata();    map_hypermetadata ();
187    
188    inode_init ();    inode_init ();
189    
# Line 211  diskfs_reload_global_state () Line 211  diskfs_reload_global_state ()
211  {  {
212    pokel_flush (&global_pokel);    pokel_flush (&global_pokel);
213    pager_flush (diskfs_disk_pager, 1);    pager_flush (diskfs_disk_pager, 1);
214      sblock = 0;
215    get_hypermetadata ();    get_hypermetadata ();
216      map_hypermetadata ();
217    return 0;    return 0;
218  }  }

Legend:
Removed from v.1.55  
changed lines
  Added in v.1.55.2.1

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