mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 16:54:20 +08:00
btrfs: add free space tree to the cow-only list
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
6b20e0ad2e
commit
3e4c5efbb3
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user