diff options
author | David Sterba <dsterba@suse.com> | 2016-01-25 10:47:10 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-01-25 10:48:07 -0500 |
commit | 3e4c5efbb3ac7c9c4fb5f33b659fa98afe568ab1 (patch) | |
tree | c6a67f25ec28ac61709dd92eaba37512a139240e /fs | |
parent | 6b20e0ad2e39b77b7d4a48cc06c4de39768c7bb8 (diff) |
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.c | 3 |
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) | |||
575 | root_objectid == BTRFS_TREE_LOG_OBJECTID || | 575 | root_objectid == BTRFS_TREE_LOG_OBJECTID || |
576 | root_objectid == BTRFS_CSUM_TREE_OBJECTID || | 576 | root_objectid == BTRFS_CSUM_TREE_OBJECTID || |
577 | root_objectid == BTRFS_UUID_TREE_OBJECTID || | 577 | root_objectid == BTRFS_UUID_TREE_OBJECTID || |
578 | root_objectid == BTRFS_QUOTA_TREE_OBJECTID) | 578 | root_objectid == BTRFS_QUOTA_TREE_OBJECTID || |
579 | root_objectid == BTRFS_FREE_SPACE_TREE_OBJECTID) | ||
579 | return 1; | 580 | return 1; |
580 | return 0; | 581 | return 0; |
581 | } | 582 | } |