]> git.baikalelectronics.ru Git - kernel.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>
Wed, 30 Nov 2011 18:43:00 +0000 (13:43 -0500)
commitd4b0e4e28df4228700837b60721a13a8f54e86bb
tree0adeb137e165fbcc5c9ed66d00189ef3194781f4
parentdd77cced6e052f617395a2f32c8a61363b179711
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>
fs/btrfs/extent-tree.c