btrfsck: make sure we fix the block group accounting during repair
authorChris Mason <chris.mason@oracle.com>
Thu, 9 Feb 2012 16:53:33 +0000 (11:53 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 9 Feb 2012 16:53:33 +0000 (11:53 -0500)
commitae1822f73f92adca8ccfac24bc0e6e440f776fa4
tree3fb47212ae733bd40f9aa62a73d2c2c9adcf4b11
parent47b104b7f17b37813244691829daf4302831acf1
btrfsck: make sure we fix the block group accounting during repair

The block group accounting is fixed after we check the extent back
references.  This makes sure the accounting is fixed unless we
were not able to repair the backrefs.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
btrfsck.c
extent-tree.c