]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
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)
commit42e70e7a2f9d96fd843723fa46d5121cb3e551d0
tree8e9c6e1c1d0810c53a87b0a36adc37037a1fe266
parentaf09abfece59aa50bfbf16f6f1f85822554e061f
Btrfs: Fix more false enospc errors and an oops from empty clustering

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>
fs/btrfs/extent-tree.c