Btrfs: Fix more false enospc errors and an oops from empty clustering
authorChris Mason <chris.mason@oracle.com>
Fri, 7 Nov 2008 23:17:11 +0000 (18:17 -0500)
committerChris Mason <chris.mason@oracle.com>
Fri, 7 Nov 2008 23:17:11 +0000 (18:17 -0500)
In comes cases the empty cluster was added twice to the total number of
bytes the allocator was trying to find.

With empty clustering on, the hint byte was sometimes outside of the
block group.  Add an extra goto to find the correct block group.

Signed-off-by: Chris Mason <chris.mason@oracle.com>

No differences found