]> git.neil.brown.name Git - LaFS.git/commit
SegRef fixes.
authorNeilBrown <neilb@suse.de>
Sun, 20 Jun 2010 23:41:51 +0000 (09:41 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 21 Jun 2010 00:29:32 +0000 (10:29 +1000)
commita23d2fb19c49d34a92008fade9bcc3bb7b6d5314
treea46cb80bb2006e29487fda83abdef71ae1f5936b
parent8ac462a0b0498a2ea0529035fa76aff136ad414c
SegRef fixes.

We mustn't hold a SegRef for blocks which aren't going to be accounted
in any segment usage counts.

This means we should never hold SegRef on the Root block, and if we
decide not to account certain block during unmount - as roll-forward
will account them - we should drop SegRef promptly.

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