]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super1.c
Fix handling of negative bitmap offsets on 64bit hosts.
authorNeil Brown <neilb@suse.de>
Mon, 21 May 2007 04:25:30 +0000 (14:25 +1000)
committerNeil Brown <neilb@suse.de>
Mon, 21 May 2007 04:25:30 +0000 (14:25 +1000)
commit68754bd17c81377091e509367e8d0cf9c80369a5
treef7eb6e6672f794a636bb1eb6bf8941e33b800bbe
parentb80da6616192d1bbfc65cba14c105ee68e71b517
Fix handling of negative bitmap offsets on 64bit hosts.

The bitmap offset is a signed 32bit number, so casting to (long)
isn't sufficient.  We must cast to (int32_t).
ANNOUNCE-2.6.2 [new file with mode: 0644]
super1.c
tests/02lineargrow [new file with mode: 0644]
tests/07autodetect [new file with mode: 0644]