]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super0.c
Fix error message when adding a device that is too small.
authorNeil Brown <neilb@suse.de>
Mon, 20 Aug 2007 04:14:28 +0000 (14:14 +1000)
committerNeil Brown <neilb@suse.de>
Mon, 20 Aug 2007 04:14:28 +0000 (14:14 +1000)
commiteb6dae98500dd087548b593c9b7e3db7b3cff9b2
tree486d41d10a25a1272a8d93b009a46a0e703bf774
parent005debfc11b4cbe653503667423df98b64e5be0e
Fix error message when adding a device that is too small.

We were multiplying MD_RESERVED_SECTORS by 1024 instead of 512,
so lots of 'is it too small' checks were wrong.
ChangeLog
super0.c