summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode-map.c
diff options
context:
space:
mode:
authorChris Mason <clm@fb.com>2016-01-11 15:08:37 +0100
committerChris Mason <clm@fb.com>2016-01-11 15:08:37 +0100
commitb28cf57246d5b797ba725bb033110c247f2c301f (patch)
tree33dbe2cfcafa6e7f5b3047a669e454739839f3c7 /fs/btrfs/inode-map.c
parentMerge branch 'misc-for-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff)
parentbtrfs: use list_for_each_entry* in backref.c (diff)
downloadlinux-b28cf57246d5b797ba725bb033110c247f2c301f.tar.xz
linux-b28cf57246d5b797ba725bb033110c247f2c301f.zip
Merge branch 'misc-cleanups-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux into for-linus-4.5
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/inode-map.c')
-rw-r--r--fs/btrfs/inode-map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode-map.c b/fs/btrfs/inode-map.c
index 1951ad69382f..8b57c17b3fb3 100644
--- a/fs/btrfs/inode-map.c
+++ b/fs/btrfs/inode-map.c
@@ -282,7 +282,7 @@ void btrfs_unpin_free_ino(struct btrfs_root *root)
}
}
-#define INIT_THRESHOLD (((1024 * 32) / 2) / sizeof(struct btrfs_free_space))
+#define INIT_THRESHOLD ((SZ_32K / 2) / sizeof(struct btrfs_free_space))
#define INODES_PER_BITMAP (PAGE_CACHE_SIZE * 8)
/*