]> git.neil.brown.name Git - LaFS.git/commit
Filter empty block from uninc change before incorporation.
authorNeilBrown <neilb@suse.de>
Tue, 22 Jun 2010 02:32:07 +0000 (12:32 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 22 Jun 2010 20:59:46 +0000 (06:59 +1000)
commit6108c8e8405d8f3632fcf47467d5eb98a6dedc39
tree6de7cc9f4e9b087eac573f9ad0618a499888db74
parent9457dc1c51b17c9ef8651b681845f2ba88010e46
Filter empty block from uninc change before incorporation.

It is possible (though unusual) for an uninc chain to have
two block with the same fileaddr, one that is empty and being ignored,
and one that is newly split off and needs to be incorporated.
We need to detect this possibility after sorting and discard the
empty block so it doesn't confuse further incorporation.

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