aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/block-group.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-08-21 18:54:28 +0200
committerDavid Sterba <dsterba@suse.com>2019-09-09 14:59:15 +0200
commit784352fe0bb4814bd969fb390c3d03486a5aaafa (patch)
tree50ef76b70d0aa12b35a214f1fa2dd1cc92996c0b /fs/btrfs/block-group.c
parentbtrfs: move cond_wake_up functions out of ctree (diff)
downloadlinux-dev-784352fe0bb4814bd969fb390c3d03486a5aaafa.tar.xz
linux-dev-784352fe0bb4814bd969fb390c3d03486a5aaafa.zip
btrfs: move math functions to misc.h
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/block-group.c')
-rw-r--r--fs/btrfs/block-group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/block-group.c b/fs/btrfs/block-group.c
index c912ee26e85d..9a09f459337b 100644
--- a/fs/btrfs/block-group.c
+++ b/fs/btrfs/block-group.c
@@ -1,5 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
+#include "misc.h"
#include "ctree.h"
#include "block-group.h"
#include "space-info.h"
@@ -13,7 +14,6 @@
#include "sysfs.h"
#include "tree-log.h"
#include "delalloc-space.h"
-#include "math.h"
/*
* Return target flags in extended format or 0 if restripe for this chunk_type