summaryrefslogtreecommitdiffstats
path: root/fs/umsdos/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/umsdos/dir.c')
-rw-r--r--fs/umsdos/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/umsdos/dir.c b/fs/umsdos/dir.c
index 9d37f24bc..2d8e60895 100644
--- a/fs/umsdos/dir.c
+++ b/fs/umsdos/dir.c
@@ -537,7 +537,7 @@ printk("umsdos_lookup_x: skipping DOS/linux\n");
* We've found it OK. Now hash the dentry with the inode.
*/
out_add:
- inode->i_count++;
+ atomic_inc(&inode->i_count);
d_add (dentry, inode);
dentry->d_op = &umsdos_dentry_operations;
ret = 0;