diff --git a/fs/ocfs2/journal.c b/fs/ocfs2/journal.c index 68ba354cf3610aa0808fccb4b9575e0c7a915581..b425f0b01dcecec6e359bffc6c0f60ae604fd6cc 100644 --- a/fs/ocfs2/journal.c +++ b/fs/ocfs2/journal.c @@ -91,7 +91,7 @@ enum ocfs2_replay_state { struct ocfs2_replay_map { unsigned int rm_slots; enum ocfs2_replay_state rm_state; - unsigned char rm_replay_slots[0]; + unsigned char rm_replay_slots[]; }; static void ocfs2_replay_map_set_state(struct ocfs2_super *osb, int state)