diff options
Diffstat (limited to 'fs/ocfs2/uptodate.c')
-rw-r--r-- | fs/ocfs2/uptodate.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/ocfs2/uptodate.c b/fs/ocfs2/uptodate.c index 81c82200b908..b6284f235d2f 100644 --- a/fs/ocfs2/uptodate.c +++ b/fs/ocfs2/uptodate.c | |||
@@ -124,8 +124,10 @@ static void ocfs2_metadata_cache_reset(struct ocfs2_caching_info *ci, | |||
124 | ci->ci_flags |= OCFS2_CACHE_FL_INLINE; | 124 | ci->ci_flags |= OCFS2_CACHE_FL_INLINE; |
125 | ci->ci_num_cached = 0; | 125 | ci->ci_num_cached = 0; |
126 | 126 | ||
127 | if (clear) | 127 | if (clear) { |
128 | ci->ci_created_trans = 0; | ||
128 | ci->ci_last_trans = 0; | 129 | ci->ci_last_trans = 0; |
130 | } | ||
129 | } | 131 | } |
130 | 132 | ||
131 | void ocfs2_metadata_cache_init(struct ocfs2_caching_info *ci, | 133 | void ocfs2_metadata_cache_init(struct ocfs2_caching_info *ci, |