]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Btrfs: start search for new cluster at the beginning
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)
commit1b22bad779be7fe07242be04749ec969164528b8
tree08f8974f216e609a43119c4285844033775f6f7f
parentb78d09bceb524ee6481c21b77bda22d766b10e6a
Btrfs: start search for new cluster at the beginning

Instead of starting at zero (offset is always zero), request a cluster
starting at search_start, that denotes the beginning of the current
block group.

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