aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/transaction.h
diff options
context:
space:
mode:
authorGravatar Filipe Manana <fdmanana@suse.com> 2024-02-13 15:23:35 +0000
committerGravatar David Sterba <dsterba@suse.com> 2024-03-04 16:24:52 +0100
commitf33163ee4c9b6dc0e94857f9912af11ac1fc7845 (patch)
tree407831eb11e9c8e94d1b332d556959a65b201ecc /fs/btrfs/transaction.h
parentbtrfs: sysfs: drop unnecessary double logical negation in acl_show() (diff)
downloadlinux-f33163ee4c9b6dc0e94857f9912af11ac1fc7845.tar.gz
linux-f33163ee4c9b6dc0e94857f9912af11ac1fc7845.tar.bz2
linux-f33163ee4c9b6dc0e94857f9912af11ac1fc7845.zip
btrfs: remove no longer used btrfs_transaction_in_commit()
The function btrfs_transaction_in_commit() is no longer used, its last use was removed in commit 11aeb97b45ad ("btrfs: don't arbitrarily slow down delalloc if we're committing"), so just remove it. Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/transaction.h')
-rw-r--r--fs/btrfs/transaction.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/transaction.h b/fs/btrfs/transaction.h
index 681109c5f441..4e451ab173b1 100644
--- a/fs/btrfs/transaction.h
+++ b/fs/btrfs/transaction.h
@@ -277,7 +277,6 @@ int btrfs_write_marked_extents(struct btrfs_fs_info *fs_info,
struct extent_io_tree *dirty_pages, int mark);
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);
void btrfs_put_transaction(struct btrfs_transaction *transaction);
void btrfs_add_dropped_root(struct btrfs_trans_handle *trans,
struct btrfs_root *root);