1 /* Generated by ./xlat/gen.sh from ./xlat/btrfs_scrub_flags.in; do not edit. */ 2 3 #include "gcc_compat.h" 4 #include "static_assert.h" 5 6 #if defined(BTRFS_SCRUB_READONLY) || (defined(HAVE_DECL_BTRFS_SCRUB_READONLY) && HAVE_DECL_BTRFS_SCRUB_READONLY) 7 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 8 static_assert((BTRFS_SCRUB_READONLY) == (1), "BTRFS_SCRUB_READONLY != 1"); 9 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 10 #else 11 # define BTRFS_SCRUB_READONLY 1 12 #endif 13 14 #ifndef XLAT_MACROS_ONLY 15 16 # ifdef IN_MPERS 17 18 extern const struct xlat btrfs_scrub_flags[]; 19 20 # else 21 22 # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) 23 static 24 # endif 25 const struct xlat btrfs_scrub_flags[] = { 26 XLAT_TYPE(uint64_t, BTRFS_SCRUB_READONLY), 27 XLAT_END 28 }; 29 30 # endif /* !IN_MPERS */ 31 32 #endif /* !XLAT_MACROS_ONLY */ 33