aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/btrfs/transaction.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2019-09-11 17:42:38 +0100
committerDavid Sterba <dsterba@suse.com>2019-11-18 12:46:45 +0100
commitb9fae2ebee0cc3a16e1b61fa397099886886e906 (patch)
tree637d8cf8e6fd8858dfafbb3adb954f4335a4c720 /fs/btrfs/transaction.c
parentbtrfs: Add assert to catch nested transaction commit (diff)
downloadwireguard-linux-b9fae2ebee0cc3a16e1b61fa397099886886e906.tar.xz
wireguard-linux-b9fae2ebee0cc3a16e1b61fa397099886886e906.zip
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>
Diffstat (limited to 'fs/btrfs/transaction.c')
-rw-r--r--fs/btrfs/transaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c
index 8b75426c349e..92ffe1df3fab 100644
--- a/fs/btrfs/transaction.c
+++ b/fs/btrfs/transaction.c
@@ -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;