summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
authorChris Mason <clm@fb.com>2016-01-11 06:08:37 -0800
committerChris Mason <clm@fb.com>2016-01-11 06:08:37 -0800
commitb28cf57246d5b797ba725bb033110c247f2c301f (patch)
tree33dbe2cfcafa6e7f5b3047a669e454739839f3c7 /fs/btrfs/super.c
parenta3058101c17d2825f34a0ab5c37d93ead0f4d9dc (diff)
parenta7ca42256d9fad572fb7f2c471514d7d3572b1db (diff)
downloadlinux-stable-b28cf57246d5b797ba725bb033110c247f2c301f.tar.gz
linux-stable-b28cf57246d5b797ba725bb033110c247f2c301f.tar.bz2
linux-stable-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/super.c')
-rw-r--r--fs/btrfs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index ff15087052f5..86f7fdc05633 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -1900,7 +1900,7 @@ static int btrfs_calc_avail_data_space(struct btrfs_root *root, u64 *free_bytes)
* btrfs starts at an offset of at least 1MB when doing chunk
* allocation.
*/
- skip_space = 1024 * 1024;
+ skip_space = SZ_1M;
/* user can set the offset in fs_info->alloc_start. */
if (fs_info->alloc_start &&