summaryrefslogtreecommitdiff
path: root/fs/btrfs/transaction.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2022-10-26 22:08:25 +0300
committerDavid Sterba <dsterba@suse.com>2022-12-05 20:00:46 +0300
commit59b818e064ab9051cd344b82420307e772d6bca7 (patch)
tree6aa4cebaafe563a591e0b64ddc92cec0cd035339 /fs/btrfs/transaction.c
parenta6a01ca61f4949037fa7b94278ab260eab02a289 (diff)
downloadlinux-59b818e064ab9051cd344b82420307e772d6bca7.tar.xz
btrfs: move defrag related prototypes to their own header
Now that the defrag code is all in one file, create a defrag.h and move all the defrag related prototypes and helper out of ctree.h and into defrag.h. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/transaction.c')
-rw-r--r--fs/btrfs/transaction.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c
index 82b2e2ec90cf..99d3f2a66227 100644
--- a/fs/btrfs/transaction.c
+++ b/fs/btrfs/transaction.c
@@ -28,6 +28,7 @@
#include "accessors.h"
#include "extent-tree.h"
#include "root-tree.h"
+#include "defrag.h"
static struct kmem_cache *btrfs_trans_handle_cachep;