Skip to content
Commit 7bfc837d authored by Miao Xie's avatar Miao Xie Committed by Chris Mason
Browse files

btrfs: restructure find_free_dev_extent()



- make it return the start position and length of the max free space when it can
  not find a suitable free space.
- make it more readability

Signed-off-by: default avatarMiao Xie <miaox@cn.fujitsu.com>
Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 1974a3b4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment