diff options
author | Neil Brown <neilb@suse.de> | 2005-08-04 04:41:12 +0000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2005-08-04 04:41:12 +0000 |
commit | f277ce367125882ea809f981172b8d5c0cc4d5c7 (patch) | |
tree | 9694dfe2d09a972eb38c0d33d8ba6a5153ccb2f6 /mdadm.h | |
parent | 11018a4592680d0d9312c21bf7689bc8db55a609 (diff) | |
download | mdadm-f277ce367125882ea809f981172b8d5c0cc4d5c7.tar.gz mdadm-f277ce367125882ea809f981172b8d5c0cc4d5c7.tar.xz mdadm-f277ce367125882ea809f981172b8d5c0cc4d5c7.zip |
Assorted Fixes for multiple bugs.
Assemble would crash, or just not work.
A few other problem found by a new test-suite.
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Diffstat (limited to 'mdadm.h')
-rw-r--r-- | mdadm.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -190,6 +190,7 @@ extern struct superswitch { void (*locate_bitmap)(struct supertype *st, int fd); int (*write_bitmap)(struct supertype *st, int fd, void *sbv); int major; + int swapuuid; /* true if uuid is bigending rather than hostendian */ } super0, super1, *superlist[]; struct supertype { @@ -281,7 +282,7 @@ extern char *conf_word(FILE *file, int allow_key); extern void free_line(char *line); extern int match_oneof(char *devices, char *devname); extern void uuid_from_super(int uuid[4], mdp_super_t *super); -extern int same_uuid(int a[4], int b[4]); +extern int same_uuid(int a[4], int b[4], int swapuuid); /* extern int compare_super(mdp_super_t *first, mdp_super_t *second);*/ extern unsigned long calc_csum(void *super, int bytes); extern int enough(int level, int raid_disks, int avail_disks); |