]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: find_free_dev_extent doesn't handle holes at the start of the device
authorYan Zheng <zheng.yan@oracle.com>
Fri, 24 Jul 2009 15:06:53 +0000 (11:06 -0400)
committerChris Mason <chris.mason@oracle.com>
Fri, 24 Jul 2009 15:22:47 +0000 (11:22 -0400)
commit40f336992bdd8ccb0c47ad58746796ba69505af6
tree64789d4143fdb02acd428ec928ed18239c95c37b
parentd4ed0ed026295c90c3b7660311625162e1b60a88
Btrfs: find_free_dev_extent doesn't handle holes at the start of the device

find_free_dev_extent does not properly handle the case where
the device is not complete free, and there is a free extent
at the beginning of the device.

Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/volumes.c