diff mbox

[1/2] ctree: fix broken macros for compat_ro

Message ID 522EA16D.6080806@suse.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jeff Mahoney Sept. 10, 2013, 4:34 a.m. UTC
The macro for compat_ro had the right name but was modifying compat instead.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
---
 ctree.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

 BTRFS_SETGET_STACK_FUNCS(super_csum_type, struct btrfs_super_block,
diff mbox

Patch

diff --git a/ctree.h b/ctree.h
index 0b0d701..8ef45f3 100644
--- a/ctree.h
+++ b/ctree.h
@@ -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);