diff options
Diffstat (limited to 'fs/ocfs2/inode.c')
-rw-r--r-- | fs/ocfs2/inode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ocfs2/inode.c b/fs/ocfs2/inode.c index 1c9713cceb39..a47750dea059 100644 --- a/fs/ocfs2/inode.c +++ b/fs/ocfs2/inode.c | |||
@@ -1112,7 +1112,7 @@ void ocfs2_clear_inode(struct inode *inode) | |||
1112 | ocfs2_lock_res_free(&oi->ip_inode_lockres); | 1112 | ocfs2_lock_res_free(&oi->ip_inode_lockres); |
1113 | ocfs2_lock_res_free(&oi->ip_open_lockres); | 1113 | ocfs2_lock_res_free(&oi->ip_open_lockres); |
1114 | 1114 | ||
1115 | ocfs2_metadata_cache_purge(INODE_CACHE(inode)); | 1115 | ocfs2_metadata_cache_exit(INODE_CACHE(inode)); |
1116 | 1116 | ||
1117 | mlog_bug_on_msg(INODE_CACHE(inode)->ci_num_cached, | 1117 | mlog_bug_on_msg(INODE_CACHE(inode)->ci_num_cached, |
1118 | "Clear inode of %llu, inode has %u cache items\n", | 1118 | "Clear inode of %llu, inode has %u cache items\n", |
@@ -1148,7 +1148,6 @@ void ocfs2_clear_inode(struct inode *inode) | |||
1148 | /* Clear all other flags. */ | 1148 | /* Clear all other flags. */ |
1149 | oi->ip_flags = 0; | 1149 | oi->ip_flags = 0; |
1150 | oi->ip_created_trans = 0; | 1150 | oi->ip_created_trans = 0; |
1151 | oi->ip_last_trans = 0; | ||
1152 | oi->ip_dir_start_lookup = 0; | 1151 | oi->ip_dir_start_lookup = 0; |
1153 | oi->ip_blkno = 0ULL; | 1152 | oi->ip_blkno = 0ULL; |
1154 | 1153 | ||