]> git.neil.brown.name Git - LaFS.git/commit
Better handling of upward recursive empty index deletion.
authorNeilBrown <neilb@suse.de>
Sun, 13 Jun 2010 07:51:00 +0000 (17:51 +1000)
committerNeilBrown <neilb@suse.de>
Sun, 13 Jun 2010 07:57:46 +0000 (17:57 +1000)
commit3c9a765f5cbd84ed2667b8985e5413fa2a7540e8
tree0b980b403683b03f1d3c111da26c77722715b06b
parent231b9c7e9e95c112142c636014a10e75879d0b14
Better handling of upward recursive empty index deletion.

When an empty index blocks makes the parent empty, we recurse
up.
When we do that, we need to again perform the check for there
being children, and for this being an InoIdx block.
So jump further back, and tidy up the exit path to ensure we still
unlock properly.

This makes the extra check for InoIdx pointless.

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