diff options
Diffstat (limited to 'fs/ufs/namei.c')
-rw-r--r-- | fs/ufs/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ufs/namei.c b/fs/ufs/namei.c index 2bd998cf3..7966998d9 100644 --- a/fs/ufs/namei.c +++ b/fs/ufs/namei.c @@ -834,7 +834,7 @@ static int ufs_link (struct dentry * old_dentry, struct inode * dir, inode->i_nlink++; inode->i_ctime = CURRENT_TIME; mark_inode_dirty(inode); - inode->i_count++; + atomic_inc(&inode->i_count); d_instantiate(dentry, inode); return 0; } |