diff options
author | Neil Brown <neilb@suse.de> | 2005-06-14 06:49:05 +0000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2005-06-14 06:49:05 +0000 |
commit | c7654afc29a0f4a7920f134ccc968548b8d0a598 (patch) | |
tree | aef70667b3f5fec7db9527970dd168c1140c3a6f /super1.c | |
parent | fe6729fa8cde33bce8d693e3f082fae688b1ff09 (diff) | |
download | mdadm-c7654afc29a0f4a7920f134ccc968548b8d0a598.tar.gz mdadm-c7654afc29a0f4a7920f134ccc968548b8d0a598.tar.xz mdadm-c7654afc29a0f4a7920f134ccc968548b8d0a598.zip |
Fix compiling of mdassemble
(again).
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Diffstat (limited to 'super1.c')
-rw-r--r-- | super1.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -115,7 +115,7 @@ static unsigned int calc_sb_1_csum(struct mdp_superblock_1 * sb) return csum; } - +#ifndef MDASSEMBLE static void examine_super1(void *sbv) { struct mdp_superblock_1 *sb = sbv; @@ -250,6 +250,8 @@ static void brief_detail_super1(void *sbv) } } +#endif + static void uuid_from_super1(int uuid[4], void * sbv) { struct mdp_superblock_1 *super = sbv; @@ -783,10 +785,12 @@ static __u64 avail_size1(__u64 devsize) } struct superswitch super1 = { +#ifndef MDASSEMBLE .examine_super = examine_super1, .brief_examine_super = brief_examine_super1, .detail_super = detail_super1, .brief_detail_super = brief_detail_super1, +#endif .uuid_from_super = uuid_from_super1, .getinfo_super = getinfo_super1, .update_super = update_super1, |