Loading fs/btrfs/extent-tree.c +1 −10 Original line number Original line Diff line number Diff line Loading @@ -6263,14 +6263,6 @@ int btrfs_free_extent(struct btrfs_trans_handle *trans, struct btrfs_root *root, return ret; return ret; } } static u64 stripe_align(struct btrfs_root *root, struct btrfs_block_group_cache *cache, u64 val, u64 num_bytes) { u64 ret = ALIGN(val, root->stripesize); return ret; } /* /* * when we wait for progress in the block group caching, its because * when we wait for progress in the block group caching, its because * our allocation attempt failed at least once. So, we must sleep * our allocation attempt failed at least once. So, we must sleep Loading Loading @@ -6751,8 +6743,7 @@ static noinline int find_free_extent(struct btrfs_root *orig_root, goto loop; goto loop; } } checks: checks: search_start = stripe_align(root, block_group, search_start = ALIGN(offset, root->stripesize); offset, num_bytes); /* move on to the next group */ /* move on to the next group */ if (search_start + num_bytes > if (search_start + num_bytes > Loading Loading
fs/btrfs/extent-tree.c +1 −10 Original line number Original line Diff line number Diff line Loading @@ -6263,14 +6263,6 @@ int btrfs_free_extent(struct btrfs_trans_handle *trans, struct btrfs_root *root, return ret; return ret; } } static u64 stripe_align(struct btrfs_root *root, struct btrfs_block_group_cache *cache, u64 val, u64 num_bytes) { u64 ret = ALIGN(val, root->stripesize); return ret; } /* /* * when we wait for progress in the block group caching, its because * when we wait for progress in the block group caching, its because * our allocation attempt failed at least once. So, we must sleep * our allocation attempt failed at least once. So, we must sleep Loading Loading @@ -6751,8 +6743,7 @@ static noinline int find_free_extent(struct btrfs_root *orig_root, goto loop; goto loop; } } checks: checks: search_start = stripe_align(root, block_group, search_start = ALIGN(offset, root->stripesize); offset, num_bytes); /* move on to the next group */ /* move on to the next group */ if (search_start + num_bytes > if (search_start + num_bytes > Loading