diff options
Diffstat (limited to 'fs/udf/namei.c')
-rw-r--r-- | fs/udf/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/udf/namei.c b/fs/udf/namei.c index d56ff9a0c..16821704e 100644 --- a/fs/udf/namei.c +++ b/fs/udf/namei.c @@ -1108,7 +1108,7 @@ static int udf_link(struct dentry * old_dentry, struct inode * dir, inode->i_ctime = CURRENT_TIME; UDF_I_UCTIME(inode) = CURRENT_UTIME; mark_inode_dirty(inode); - inode->i_count ++; + atomic_inc(&inode->i_count); d_instantiate(dentry, inode); return 0; } |