summaryrefslogtreecommitdiffstats
path: root/src/crimson/os/seastore/onode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crimson/os/seastore/onode.h')
-rw-r--r--src/crimson/os/seastore/onode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crimson/os/seastore/onode.h b/src/crimson/os/seastore/onode.h
index 072c57864be..fa2ed65c0f3 100644
--- a/src/crimson/os/seastore/onode.h
+++ b/src/crimson/os/seastore/onode.h
@@ -36,8 +36,8 @@ struct onode_layout_t {
object_data_le_t object_data;
- char oi[MAX_OI_LENGTH];
- char ss[MAX_SS_LENGTH];
+ char oi[MAX_OI_LENGTH] = {0};
+ char ss[MAX_SS_LENGTH] = {0};
} __attribute__((packed));
class Transaction;