summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-01-25 16:47:10 +0100
committerDavid Sterba <dsterba@suse.com>2016-01-25 16:48:07 +0100
commit3e4c5efbb3ac7c9c4fb5f33b659fa98afe568ab1 (patch)
treec6a67f25ec28ac61709dd92eaba37512a139240e /fs
parent6b20e0ad2e39b77b7d4a48cc06c4de39768c7bb8 (diff)
downloadlinux-3e4c5efbb3ac7c9c4fb5f33b659fa98afe568ab1.tar.bz2
btrfs: add free space tree to the cow-only list
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/relocation.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/btrfs/relocation.c b/fs/btrfs/relocation.c
index ef6d8fc85853..c5540302402d 100644
--- a/fs/btrfs/relocation.c
+++ b/fs/btrfs/relocation.c
@@ -575,7 +575,8 @@ static int is_cowonly_root(u64 root_objectid)
root_objectid == BTRFS_TREE_LOG_OBJECTID ||
root_objectid == BTRFS_CSUM_TREE_OBJECTID ||
root_objectid == BTRFS_UUID_TREE_OBJECTID ||
- root_objectid == BTRFS_QUOTA_TREE_OBJECTID)
+ root_objectid == BTRFS_QUOTA_TREE_OBJECTID ||
+ root_objectid == BTRFS_FREE_SPACE_TREE_OBJECTID)
return 1;
return 0;
}