Skip to content

Commit

Permalink
btrfs: let merge_reloc_roots return void
Browse files Browse the repository at this point in the history
Signed-off-by: David Sterba <dsterba@suse.cz>
  • Loading branch information
David Sterba committed Oct 2, 2014
1 parent 8b9456d commit 94404e8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fs/btrfs/relocation.c
Original file line number Diff line number Diff line change
Expand Up @@ -2316,7 +2316,7 @@ void free_reloc_roots(struct list_head *list)
}

static noinline_for_stack
int merge_reloc_roots(struct reloc_control *rc)
void merge_reloc_roots(struct reloc_control *rc)
{
struct btrfs_root *root;
struct btrfs_root *reloc_root;
Expand Down Expand Up @@ -2397,7 +2397,6 @@ int merge_reloc_roots(struct reloc_control *rc)
}

BUG_ON(!RB_EMPTY_ROOT(&rc->reloc_root_tree.rb_root));
return ret;
}

static void free_block_list(struct rb_root *blocks)
Expand Down

0 comments on commit 94404e8

Please sign in to comment.