diff options
author | David Sterba <dsterba@suse.com> | 2016-11-02 23:37:03 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-12-14 15:06:34 +0100 |
commit | dfbdde35fceb8540e03adda861d3e4b0deca226a (patch) | |
tree | 0a3c3051c10e43b988f45f328401ee1133b1bc86 /disk-io.c | |
parent | 2f4e20a47a91cafa79b1053c03f9e41d5fb10ccf (diff) |
btrfs-progs: make incompat bit wrappers more compact
Use the same macro tricks as in kernel code.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'disk-io.c')
-rw-r--r-- | disk-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1063,7 +1063,7 @@ int btrfs_setup_all_roots(struct btrfs_fs_info *fs_info, u64 root_tree_bytenr, if (ret == 0) fs_info->quota_enabled = 1; - if (btrfs_fs_compat_ro(fs_info, BTRFS_FEATURE_COMPAT_RO_FREE_SPACE_TREE)) { + if (btrfs_fs_compat_ro(fs_info, FREE_SPACE_TREE)) { ret = find_and_setup_root(root, fs_info, BTRFS_FREE_SPACE_TREE_OBJECTID, fs_info->free_space_root); if (ret) { |