diff options
author | Neil Brown <neilb@suse.de> | 2008-07-12 12:27:37 +0200 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2008-07-12 12:27:37 +0200 |
commit | 1522c538b1b8a685d4f0280eefbb2b82b82c1b6a (patch) | |
tree | 4a6adf79892b05aeb743fee9cecfab09c14ec807 /super0.c | |
parent | Assorted cleanups to DDF (diff) | |
download | mdadm-1522c538b1b8a685d4f0280eefbb2b82b82c1b6a.tar.xz mdadm-1522c538b1b8a685d4f0280eefbb2b82b82c1b6a.zip |
Use text_version in map_file rather than major.minor.
Diffstat (limited to 'super0.c')
-rw-r--r-- | super0.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -369,6 +369,8 @@ static void getinfo_super0(struct supertype *st, struct mdinfo *info) info->events = md_event(sb); info->data_offset = 0; + sprintf(info->text_version, "0.%d", sb->minor_version); + uuid_from_super0(st, info->uuid); if (sb->minor_version > 90 && (sb->reshape_position+1) != 0) { |