diff options
Diffstat (limited to 'fs/logfs/inode.c')
-rw-r--r-- | fs/logfs/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/logfs/inode.c b/fs/logfs/inode.c index 6984562738d3..bda39085309f 100644 --- a/fs/logfs/inode.c +++ b/fs/logfs/inode.c | |||
@@ -208,8 +208,8 @@ static void logfs_init_inode(struct super_block *sb, struct inode *inode) | |||
208 | li->li_height = 0; | 208 | li->li_height = 0; |
209 | li->li_used_bytes = 0; | 209 | li->li_used_bytes = 0; |
210 | li->li_block = NULL; | 210 | li->li_block = NULL; |
211 | inode->i_uid = 0; | 211 | i_uid_write(inode, 0); |
212 | inode->i_gid = 0; | 212 | i_gid_write(inode, 0); |
213 | inode->i_size = 0; | 213 | inode->i_size = 0; |
214 | inode->i_blocks = 0; | 214 | inode->i_blocks = 0; |
215 | inode->i_ctime = CURRENT_TIME; | 215 | inode->i_ctime = CURRENT_TIME; |