Btrfs: make btrfs_wait_extents() static
PATCH 1/1 Btrfs: make btrfs_wait_extents() static
From: Filipe Manana <[email protected]>
It's not used ouside of transaction.c
Signed-off-by Filipe Manana <[email protected]>
--- fs/btrfs/transaction.c | 2 +- fs/btrfs/transaction.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-)
fs/btrfs/transaction.c +1 -1
@@ -988,7 +988,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;
fs/btrfs/transaction.h +0 -2
@@ -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);
Signature · 1 line
2.11.0
Quoted 5 lines · On Wed, Sep 11, 2019 at 05:42:38PM +0100, [email protected] wrote:
From: Filipe Manana <[email protected]>
It's not used ouside of
transaction.cSigned-off-by Filipe Manana <[email protected]>
Reviewed-by Josef Bacik <[email protected]>
Thanks,
Josef
Quoted 5 lines · On Wed, Sep 11, 2019 at 05:42:38PM +0100, [email protected] wrote:
From: Filipe Manana <[email protected]>
It's not used ouside of
transaction.cSigned-off-by Filipe Manana <[email protected]>
Added to misc-next, thanks.