diff options
author | Jes Sorensen <jsorensen@fb.com> | 2017-04-11 18:54:26 +0200 |
---|---|---|
committer | Jes Sorensen <jsorensen@fb.com> | 2017-04-11 18:54:26 +0200 |
commit | 32141c1765967e37d6f1accdf124c166bc103c3b (patch) | |
tree | 116d336b6aa10881f7df01824f77f845fcc4d933 /super-mbr.c | |
parent | Revert "mdadm/grow: reshape would be stuck from raid1 to raid5" (diff) | |
download | mdadm-32141c1765967e37d6f1accdf124c166bc103c3b.tar.xz mdadm-32141c1765967e37d6f1accdf124c166bc103c3b.zip |
Retire mdassemble
mdassemble doesn't handle container based arrays, no support for sysfs,
etc. It has not been actively maintained for years, so time to send it
off to retirement.
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'super-mbr.c')
-rw-r--r-- | super-mbr.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/super-mbr.c b/super-mbr.c index 1bbe57a9..839f0003 100644 --- a/super-mbr.c +++ b/super-mbr.c @@ -48,8 +48,6 @@ static void free_mbr(struct supertype *st) st->sb = NULL; } -#ifndef MDASSEMBLE - static void examine_mbr(struct supertype *st, char *homehost) { struct MBR *sb = st->sb; @@ -71,8 +69,6 @@ static void examine_mbr(struct supertype *st, char *homehost) } -#endif /*MDASSEMBLE */ - static int load_super_mbr(struct supertype *st, int fd, char *devname) { /* try to read an mbr @@ -187,7 +183,6 @@ static struct supertype *match_metadata_desc(char *arg) return st; } -#ifndef MDASSEMBLE static int validate_geometry(struct supertype *st, int level, int layout, int raiddisks, int *chunk, unsigned long long size, @@ -198,13 +193,10 @@ static int validate_geometry(struct supertype *st, int level, pr_err("mbr metadata cannot be used this way\n"); return 0; } -#endif struct superswitch mbr = { -#ifndef MDASSEMBLE .examine_super = examine_mbr, .validate_geometry = validate_geometry, -#endif .match_metadata_desc = match_metadata_desc, .load_super = load_super_mbr, .store_super = store_mbr, |