Skip to content

Commit 3e4c5ef

Browse files
committed
btrfs: add free space tree to the cow-only list
Signed-off-by: David Sterba <[email protected]>
1 parent 6b20e0a commit 3e4c5ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fs/btrfs/relocation.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,8 @@ static int is_cowonly_root(u64 root_objectid)
575575
root_objectid == BTRFS_TREE_LOG_OBJECTID ||
576576
root_objectid == BTRFS_CSUM_TREE_OBJECTID ||
577577
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)
579580
return 1;
580581
return 0;
581582
}

0 commit comments

Comments
 (0)