diff options
Diffstat (limited to 'fs/gfs2/ops_inode.c')
-rw-r--r-- | fs/gfs2/ops_inode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/gfs2/ops_inode.c b/fs/gfs2/ops_inode.c index 8895baafc640..caecafe0469b 100644 --- a/fs/gfs2/ops_inode.c +++ b/fs/gfs2/ops_inode.c | |||
@@ -250,6 +250,7 @@ out: | |||
250 | gfs2_holder_uninit(ghs + 1); | 250 | gfs2_holder_uninit(ghs + 1); |
251 | 251 | ||
252 | if (!error) { | 252 | if (!error) { |
253 | atomic_inc(&inode->i_count); | ||
253 | d_instantiate(dentry, inode); | 254 | d_instantiate(dentry, inode); |
254 | mark_inode_dirty(inode); | 255 | mark_inode_dirty(inode); |
255 | } | 256 | } |