summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ioctl.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2019-06-19 15:12:00 -0400
committerDavid Sterba <dsterba@suse.com>2019-07-04 17:26:17 +0200
commit867363429d706984915cb4b1f299ce05f8413e23 (patch)
treed32f16aaf9554891750046d2276511cf334b61f8 /fs/btrfs/ioctl.c
parentfb6dea26601b60e41d70c310537dd1e2617b25b6 (diff)
downloadlinux-867363429d706984915cb4b1f299ce05f8413e23.tar.gz
linux-867363429d706984915cb4b1f299ce05f8413e23.tar.bz2
linux-867363429d706984915cb4b1f299ce05f8413e23.zip
btrfs: migrate the delalloc space stuff to it's own home
We have code for data and metadata reservations for delalloc. There's quite a bit of code here, and it's used in a lot of places so I've separated it out to it's own file. inode.c and file.c are already pretty large, and this code is complicated enough to live in its own space. Signed-off-by: Josef Bacik <josef@toxicpanda.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 ca32b97b6b4b..d0743ec1231d 100644
--- a/fs/btrfs/ioctl.c
+++ b/fs/btrfs/ioctl.c
@@ -44,6 +44,7 @@
#include "tree-log.h"
#include "compression.h"
#include "space-info.h"
+#include "delalloc-space.h"
#ifdef CONFIG_64BIT
/* If we have a 32-bit userspace and 64-bit kernel, then the UAPI