]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Fix sign extension of bitmap_offset in super1.c
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 26 Apr 2012 15:12:56 +0000 (17:12 +0200)
committerNeilBrown <neilb@suse.de>
Sun, 29 Apr 2012 23:56:22 +0000 (09:56 +1000)
commit34a13953facb53625d300e63af355bf2df0309e0
treeac350d6f318631e6a3338c2796efa6fe8a8249aa
parentb51702b82767b726e34d205c9e00a4f61d3044a7
Fix sign extension of bitmap_offset in super1.c

fbdef49811c9e2b54e2064d9af68cfffa77c6e77 incorrectly tried to fix sign
extension of the bitmap offset. However mdinfo->bitmap_offset is a u32
and needs to be converted to a 32 bit signed integer before the sign
extension.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
super1.c