]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Btrfs: skip allocation attempt from empty cluster
authorAlexandre Oliva <oliva@lsd.ic.unicamp.br>
Wed, 30 Nov 2011 18:43:00 +0000 (13:43 -0500)
committerChris Mason <chris.mason@oracle.com>
Fri, 16 Dec 2011 19:41:48 +0000 (14:41 -0500)
commit6c452cf3025feb48b4ccd7587448da9277730a90
tree9edc49d920f498daace75422b9432844fd16f6b5
parent480704b8e105a947c8d7b49eb4cb13ff289c60cd
Btrfs: skip allocation attempt from empty cluster

If we don't have a cluster, don't bother trying to allocate from it,
jumping right away to the attempt to allocate a new cluster.

Signed-off-by: Alexandre Oliva <oliva@lsd.ic.unicamp.br>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
(cherry picked from commit be064d113906f04ea13088a8260e1e68ae0a4050)
fs/btrfs/extent-tree.c