diff options
Diffstat (limited to 'fs/gfs2/glops.c')
-rw-r--r-- | fs/gfs2/glops.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/gfs2/glops.c b/fs/gfs2/glops.c index 3bf0631b5d56..54b66809e818 100644 --- a/fs/gfs2/glops.c +++ b/fs/gfs2/glops.c | |||
@@ -82,6 +82,8 @@ static void gfs2_ail_empty_gl(struct gfs2_glock *gl) | |||
82 | struct gfs2_trans tr; | 82 | struct gfs2_trans tr; |
83 | 83 | ||
84 | memset(&tr, 0, sizeof(tr)); | 84 | memset(&tr, 0, sizeof(tr)); |
85 | INIT_LIST_HEAD(&tr.tr_buf); | ||
86 | INIT_LIST_HEAD(&tr.tr_databuf); | ||
85 | tr.tr_revokes = atomic_read(&gl->gl_ail_count); | 87 | tr.tr_revokes = atomic_read(&gl->gl_ail_count); |
86 | 88 | ||
87 | if (!tr.tr_revokes) | 89 | if (!tr.tr_revokes) |