Btrfs: make btrfs_wait_extents() static
It's not used ouside of transaction.c Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
35b814f3c5
commit
b9fae2ebee
2 changed files with 1 additions and 3 deletions
|
@ -990,7 +990,7 @@ static int __btrfs_wait_marked_extents(struct btrfs_fs_info *fs_info,
|
|||
return werr;
|
||||
}
|
||||
|
||||
int btrfs_wait_extents(struct btrfs_fs_info *fs_info,
|
||||
static int btrfs_wait_extents(struct btrfs_fs_info *fs_info,
|
||||
struct extent_io_tree *dirty_pages)
|
||||
{
|
||||
bool errors = false;
|
||||
|
|
|
@ -218,8 +218,6 @@ int btrfs_record_root_in_trans(struct btrfs_trans_handle *trans,
|
|||
struct btrfs_root *root);
|
||||
int btrfs_write_marked_extents(struct btrfs_fs_info *fs_info,
|
||||
struct extent_io_tree *dirty_pages, int mark);
|
||||
int btrfs_wait_extents(struct btrfs_fs_info *fs_info,
|
||||
struct extent_io_tree *dirty_pages);
|
||||
int btrfs_wait_tree_log_extents(struct btrfs_root *root, int mark);
|
||||
int btrfs_transaction_blocked(struct btrfs_fs_info *info);
|
||||
int btrfs_transaction_in_commit(struct btrfs_fs_info *info);
|
||||
|
|
Loading…
Reference in a new issue