summaryrefslogtreecommitdiffstats
path: root/src/md.h
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-10-25 18:26:16 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2009-10-25 18:26:16 +0100
commit5156d5b462f00da3830dc6314dd74feda37f1257 (patch)
tree85ff8a96aeab5a1cdd6054f6be8a53d12d401788 /src/md.h
parent4a75ec8effe3e4878e7710a1322d8ed86f059c08 (diff)
Code cleanup
Diffstat (limited to 'src/md.h')
-rw-r--r--src/md.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/md.h b/src/md.h
index 4c24531..fa2f680 100644
--- a/src/md.h
+++ b/src/md.h
@@ -245,10 +245,12 @@ struct mdp_superblock_1 {
uint16_t dev_roles[0]; /* role in array, or 0xffff for a spare, or 0xfffe for faulty */
};
+#if 0
static inline uint64_t md_event(mdp_super_t *sb) {
uint64_t ev = sb->events_hi;
return (ev<<32)| sb->events_lo;
}
+#endif
/* TestDisk */
int check_MD(disk_t *disk_car,partition_t *partition,const int verbose);