diff options
Diffstat (limited to 'fs/ocfs2/inode.c')
-rw-r--r-- | fs/ocfs2/inode.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/ocfs2/inode.c b/fs/ocfs2/inode.c index 62b4743fb6f1..9ee13f70da57 100644 --- a/fs/ocfs2/inode.c +++ b/fs/ocfs2/inode.c | |||
@@ -377,6 +377,10 @@ void ocfs2_populate_inode(struct inode *inode, struct ocfs2_dinode *fe, | |||
377 | 377 | ||
378 | OCFS2_I(inode)->ip_last_used_slot = 0; | 378 | OCFS2_I(inode)->ip_last_used_slot = 0; |
379 | OCFS2_I(inode)->ip_last_used_group = 0; | 379 | OCFS2_I(inode)->ip_last_used_group = 0; |
380 | |||
381 | if (S_ISDIR(inode->i_mode)) | ||
382 | ocfs2_resv_set_type(&OCFS2_I(inode)->ip_la_data_resv, | ||
383 | OCFS2_RESV_FLAG_DIR); | ||
380 | mlog_exit_void(); | 384 | mlog_exit_void(); |
381 | } | 385 | } |
382 | 386 | ||