aboutsummaryrefslogtreecommitdiffstats
path: root/fs/bfs/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/bfs/dir.c')
-rw-r--r--fs/bfs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bfs/dir.c b/fs/bfs/dir.c
index ce05d1643dd1..a650f1d0b85e 100644
--- a/fs/bfs/dir.c
+++ b/fs/bfs/dir.c
@@ -163,7 +163,7 @@ static int bfs_link(struct dentry * old, struct inode * dir, struct dentry * new
163 unlock_kernel(); 163 unlock_kernel();
164 return err; 164 return err;
165 } 165 }
166 inode->i_nlink++; 166 inc_nlink(inode);
167 inode->i_ctime = CURRENT_TIME_SEC; 167 inode->i_ctime = CURRENT_TIME_SEC;
168 mark_inode_dirty(inode); 168 mark_inode_dirty(inode);
169 atomic_inc(&inode->i_count); 169 atomic_inc(&inode->i_count);