]> git.neil.brown.name Git - LaFS.git/commit
Fix problem with mobility of internal index blocks.
authorNeilBrown <neilb@suse.de>
Wed, 9 Jun 2010 02:14:07 +0000 (12:14 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 10 Jun 2010 06:05:09 +0000 (16:05 +1000)
commita21596e51b872635c7cb0683a21fff981f5d3716
tree456b30c845984c1393cbd398ea710ebf61162d2c
parentcc9d8eec0c1c9b5503dfcb3fc780e8dd69e14167
Fix problem with mobility of internal index blocks.

As index blocks can change address if they are or become the first
block in the parent, we must not put too much weight on the first
address stored in an internal index block - it must always be treated
as the same as the address of that internal index block.

So pass around the current block's address where needed, and use it in
preference to the first address recorded in the block.

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