]> git.neil.brown.name Git - LaFS.git/commit
Set depth to 0 when InoIdx becomes empty.
authorNeilBrown <neilb@suse.de>
Tue, 8 Jun 2010 07:49:04 +0000 (17:49 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 8 Jun 2010 07:49:04 +0000 (17:49 +1000)
commitad8ca5bbf943681cfe198668af86448890d859a6
tree4fb621c567654937fc1b3240f387b4e1dfd2a522
parent8f83f5709decc8c0ea9656a7fd023262c1484606
Set depth to 0 when InoIdx becomes empty.

The code set depth to zero always, which is clearly broken.

We don't incrementally reduce the height of an indexing tree as it
shrinks.  Rather the high remains at the max until it is completely
empty, then it suddenly becomes zero.

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