ctree: fix broken macros for compat_ro
PATCH 1/2 ctree: fix broken macros for compat_ro
The macro for compat_ro had the right name but was modifying compat instead.
Signed-off-by Jeff Mahoney <[email protected]>
--- ctree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
ctree.h +0 -0
@@ -1912,7 +1912,7 @@ BTRFS_SETGET_STACK_FUNCS(super_num_devices, struct
btrfs_super_block,
BTRFS_SETGET_STACK_FUNCS(super_compat_flags, struct btrfs_super_block,
compat_flags, 64);
BTRFS_SETGET_STACK_FUNCS(super_compat_ro_flags, struct btrfs_super_block,
- compat_flags, 64);
+ compat_ro_flags, 64);
BTRFS_SETGET_STACK_FUNCS(super_incompat_flags, struct btrfs_super_block,
incompat_flags, 64);
BTRFS_SETGET_STACK_FUNCS(super_csum_type, struct btrfs_super_block,
Signature · 6 lines
1.8.1.4 -- Jeff Mahoney SUSE Labs