summaryrefslogtreecommitdiffstats
path: root/super1.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2006-04-07 04:34:45 +0000
committerNeil Brown <neilb@suse.de>2006-04-07 04:34:45 +0000
commitac957baa979f9c8562af929559bfb9c07691abbc (patch)
tree367c57815ce14a465a2069e0741d2e7de265944d /super1.c
parent86d0e1ab938a7059540735807db098fcd85036ae (diff)
downloadmdadm-ac957baa979f9c8562af929559bfb9c07691abbc.tar.gz
mdadm-ac957baa979f9c8562af929559bfb9c07691abbc.tar.xz
mdadm-ac957baa979f9c8562af929559bfb9c07691abbc.zip
Fix alignment problem in version-1 superblocks.
NOTE: This is an incompatable change affecting raid5 reshape. If you want to reshape a raid5 using version-1 superblocks, use 2.6.17-rc2 or later, and mdadm-2.4.1 or later. Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'super1.c')
-rw-r--r--super1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/super1.c b/super1.c
index 45c3d95..27cec87 100644
--- a/super1.c
+++ b/super1.c
@@ -58,8 +58,8 @@ struct mdp_superblock_1 {
*/
/* These are only valid with feature bit '4' */
- __u64 reshape_position; /* next address in array-space for reshape */
__u32 new_level; /* new level we are reshaping to */
+ __u64 reshape_position; /* next address in array-space for reshape */
__u32 delta_disks; /* change in number of raid_disks */
__u32 new_layout; /* new layout */
__u32 new_chunk; /* new chunk size (bytes) */