]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super1.c
mdadm/super1: It needs to specify int32 for bitmap_offset
authorXiao Ni <xni@redhat.com>
Wed, 2 Jun 2021 01:17:19 +0000 (09:17 +0800)
committerJes Sorensen <jsorensen@fb.com>
Fri, 16 Jul 2021 14:21:49 +0000 (10:21 -0400)
commitf421731c7e1de6608f8fafb551d199ff5f1d6b97
tree779f7172ad0dbecba504afcded1209c71afede8f
parent1f5d54a06df01ca3032ca2d29159584cab7d7509
mdadm/super1: It needs to specify int32 for bitmap_offset

For super1.0 bitmap offset is -16. So it needs to use int type for bitmap offset.

Fixes: 1fe2e1007310 (mdadm/bitmap: locate bitmap calcuate bitmap position wrongly)
Signed-off-by: Xiao Ni <xni@redhat.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
super1.c