]> git.ipfire.org Git - thirdparty/mdadm.git/commit
DDF: factor out common code for search through extents.
authorNeilBrown <neilb@suse.de>
Tue, 6 May 2014 04:47:03 +0000 (14:47 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 21 May 2014 01:54:48 +0000 (11:54 +1000)
commitfca65520007a603197a995c5c1bf8366d1fc2370
tree57148bb2b881dce60d6472583a6f92ea1706e858
parent708997ffb7f0007ca9d42fc68289b34c2edbe8e2
DDF: factor out common code for search through extents.

Each place the uses "get_extents" has slightly different search code
to look through the result.

Factor this out into a single find_space() function.

This is will make it easier to add --data-offset support.

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