]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super1.c
super1: improve calculation of space_before/space_after
authorNeilBrown <neilb@suse.de>
Tue, 21 May 2013 05:38:49 +0000 (15:38 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 21 May 2013 05:38:49 +0000 (15:38 +1000)
commitcc3130a7863c21d773e1afad703b3f252debe075
tree33119cf4ed667999b0275b3c9693df84fd84e3f0
parent8772113ab2117a4644bc71b47f16fc91f9a6b283
super1: improve calculation of space_before/space_after

1/ these must allow for bad-block-list
2/ they must match the kernel, which has a 32k buffer after the
   superblock.

Signed-off-by: NeilBrown <neilb@suse.de>
super1.c