aboutsummaryrefslogtreecommitdiffstats
path: root/fs/coda
diff options
context:
space:
mode:
Diffstat (limited to 'fs/coda')
-rw-r--r--fs/coda/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/coda/dir.c b/fs/coda/dir.c
index 0a2fd8bb7579..0102b28a15fb 100644
--- a/fs/coda/dir.c
+++ b/fs/coda/dir.c
@@ -304,7 +304,7 @@ static int coda_link(struct dentry *source_de, struct inode *dir_inode,
304 coda_dir_changed(dir_inode, 0); 304 coda_dir_changed(dir_inode, 0);
305 atomic_inc(&inode->i_count); 305 atomic_inc(&inode->i_count);
306 d_instantiate(de, inode); 306 d_instantiate(de, inode);
307 inode->i_nlink++; 307 inc_nlink(inode);
308 308
309out: 309out:
310 unlock_kernel(); 310 unlock_kernel();