Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/util-linux/volume_id/ext.c

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

revision 983 by niro, Fri Apr 24 18:33:46 2009 UTC revision 984 by niro, Sun May 30 11:32:42 2010 UTC
# Line 37  struct ext2_super_block { Line 37  struct ext2_super_block {
37   uint32_t feature_ro_compat;   uint32_t feature_ro_compat;
38   uint8_t uuid[16];   uint8_t uuid[16];
39   uint8_t volume_name[16];   uint8_t volume_name[16];
40  } __attribute__((__packed__));  } PACKED;
41    
42  #define EXT3_FEATURE_COMPAT_HAS_JOURNAL 0x00000004  #define EXT3_FEATURE_COMPAT_HAS_JOURNAL 0x00000004
43  #define EXT3_FEATURE_INCOMPAT_JOURNAL_DEV 0x00000008  #define EXT3_FEATURE_INCOMPAT_JOURNAL_DEV 0x00000008
44  #define EXT_SUPERBLOCK_OFFSET 0x400  #define EXT_SUPERBLOCK_OFFSET 0x400
45    
46  int volume_id_probe_ext(struct volume_id *id, uint64_t off)  int FAST_FUNC volume_id_probe_ext(struct volume_id *id /*,uint64_t off*/)
47  {  {
48    #define off ((uint64_t)0)
49   struct ext2_super_block *es;   struct ext2_super_block *es;
50    
51   dbg("ext: probing at offset 0x%llx", (unsigned long long) off);   dbg("ext: probing at offset 0x%llx", (unsigned long long) off);

Legend:
Removed from v.983  
changed lines
  Added in v.984