Skip to content

Commit

Permalink
Merge pull request ceph#60209 from myoungwon/wip-init-onode-layout
Browse files Browse the repository at this point in the history
crimson/os/seastore: initialize oi and ss in onode_layout_t to zero

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
  • Loading branch information
cyx1231st authored Nov 15, 2024
2 parents 9aab8e7 + 0863262 commit 5853cb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/crimson/os/seastore/onode.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5853cb7

Please sign in to comment.