Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/util-linux/volume_id/cramfs.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 31  struct cramfs_super { Line 31  struct cramfs_super {
31   uint32_t edition;   uint32_t edition;
32   uint32_t blocks;   uint32_t blocks;
33   uint32_t files;   uint32_t files;
34   } __attribute__((__packed__)) info;   } PACKED info;
35   uint8_t name[16];   uint8_t name[16];
36  } __attribute__((__packed__));  } PACKED;
37    
38  int volume_id_probe_cramfs(struct volume_id *id, uint64_t off)  int FAST_FUNC volume_id_probe_cramfs(struct volume_id *id /*,uint64_t off*/)
39  {  {
40    #define off ((uint64_t)0)
41   struct cramfs_super *cs;   struct cramfs_super *cs;
42    
43   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