Skip to contentSkip to conversation

ctree: fix broken macros for compat_ro

PATCH New Jeff Mahoney 1 participant 1 message Aug 27, 2013 Btrfs file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ctree: fix broken macros for compat_ro

The macro for compat_ro had the right name but was modifying compat instead.

---
 ctree.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ctree.h +1 -1
index 0b0d701..8ef45f3 100644
@@ -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