Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/util-linux/volume_id/romfs.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 24  struct romfs_super { Line 24  struct romfs_super {
24   uint8_t magic[8];   uint8_t magic[8];
25   uint32_t size;   uint32_t size;
26   uint32_t checksum;   uint32_t checksum;
27   uint8_t name[0];   uint8_t name[];
28  } __attribute__((__packed__));  } PACKED;
29    
30  int volume_id_probe_romfs(struct volume_id *id, uint64_t off)  int FAST_FUNC volume_id_probe_romfs(struct volume_id *id /*,uint64_t off*/)
31  {  {
32    #define off ((uint64_t)0)
33   struct romfs_super *rfs;   struct romfs_super *rfs;
34    
35   dbg("probing at offset 0x%llx", (unsigned long long) off);   dbg("probing at offset 0x%llx", (unsigned long long) off);

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