]> git.baikalelectronics.ru Git - kernel.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)
commitb57f9a082fb7d00d0f18cf233c3d52783d93ecbd
tree08f8974f216e609a43119c4285844033775f6f7f
parent4d2c8402e6d719d89bf55d52cfc985c12fa2da1c
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