]> www.infradead.org Git - users/jedix/linux-maple.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>
Fri, 16 Dec 2011 19:41:23 +0000 (14:41 -0500)
commit768e4edd707c17d1e9837c567b05ab3ae9c17270
tree16c3d6499b604f9648004d7030a6ab79ab9411b6
parent4e4fbe5bb9501019798587dfc9b5a266134a0cb6
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>
(cherry picked from commit 1b22bad779be7fe07242be04749ec969164528b8)
fs/btrfs/extent-tree.c