We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f125e9 commit 79f8e62Copy full SHA for 79f8e62
include/sys/dmu_objset.h
@@ -72,6 +72,10 @@ struct dmu_tx;
72
*/
73
#define OBJSET_CRYPT_PORTABLE_FLAGS_MASK (0)
74
75
+#if defined(__clang__)
76
+#pragma clang diagnostic push
77
+#pragma clang diagnostic ignored "-Wgnu-variable-sized-type-not-at-end"
78
+#endif
79
typedef struct objset_phys {
80
dnode_phys_t os_meta_dnode;
81
zil_header_t os_zil_header;
@@ -88,6 +92,9 @@ typedef struct objset_phys {
88
92
char os_pad1[OBJSET_PHYS_SIZE_V3 - OBJSET_PHYS_SIZE_V2 -
89
93
sizeof (dnode_phys_t)];
90
94
} objset_phys_t;
95
96
+#pragma clang diagnostic pop
97
91
98
99
typedef int (*dmu_objset_upgrade_cb_t)(objset_t *);
100
0 commit comments