]> git.neil.brown.name Git - LaFS.git/commit
Fix a BUG_ON in lafs_erase_dblock
authorNeilBrown <neilb@suse.de>
Mon, 7 Jun 2010 03:16:45 +0000 (13:16 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 7 Jun 2010 03:37:22 +0000 (13:37 +1000)
commitada163f239586f201be637997015a1f6d85cc325
tree3f46df48e26bbea89ecb683e7372d06238b62201
parente8c71c0d56a5338ec473a7539ee330cb7ff02ac8
Fix a BUG_ON  in lafs_erase_dblock

As we no longer clear the Valid flag on index blocks when
they become empty, we can no longer trigger a bug if it
is still set.
However depth should definitely be 0, so test for that.

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