summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ioctl.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2022-10-26 15:08:25 -0400
committerDavid Sterba <dsterba@suse.com>2022-12-05 18:00:46 +0100
commit59b818e064ab9051cd344b82420307e772d6bca7 (patch)
tree6aa4cebaafe563a591e0b64ddc92cec0cd035339 /fs/btrfs/ioctl.c
parenta6a01ca61f4949037fa7b94278ab260eab02a289 (diff)
downloadlinux-59b818e064ab9051cd344b82420307e772d6bca7.tar.bz2
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/ioctl.c')
-rw-r--r--fs/btrfs/ioctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c
index 42453dd2ed31..f91dbd1dc6d1 100644
--- a/fs/btrfs/ioctl.c
+++ b/fs/btrfs/ioctl.c
@@ -54,6 +54,7 @@
#include "accessors.h"
#include "extent-tree.h"
#include "root-tree.h"
+#include "defrag.h"
#ifdef CONFIG_64BIT
/* If we have a 32-bit userspace and 64-bit kernel, then the UAPI