diff options
author | Josef Bacik <josef@toxicpanda.com> | 2022-10-26 21:08:25 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-12-05 18:00:46 +0100 |
commit | 59b818e064ab9051cd344b82420307e772d6bca7 (patch) | |
tree | 6aa4cebaafe563a591e0b64ddc92cec0cd035339 /fs/btrfs/transaction.c | |
parent | btrfs: move the file defrag code into defrag.c (diff) | |
download | linux-59b818e064ab9051cd344b82420307e772d6bca7.tar.xz linux-59b818e064ab9051cd344b82420307e772d6bca7.zip |
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 '')
-rw-r--r-- | fs/btrfs/transaction.c | 1 |
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; |