diff options
Diffstat (limited to 'fs/autofs/root.c')
-rw-r--r-- | fs/autofs/root.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/autofs/root.c b/fs/autofs/root.c index 54ad70731927..368a1c33a3c8 100644 --- a/fs/autofs/root.c +++ b/fs/autofs/root.c | |||
@@ -466,7 +466,7 @@ static int autofs_root_mkdir(struct inode *dir, struct dentry *dentry, int mode) | |||
466 | ent->dentry = dentry; | 466 | ent->dentry = dentry; |
467 | autofs_hash_insert(dh,ent); | 467 | autofs_hash_insert(dh,ent); |
468 | 468 | ||
469 | dir->i_nlink++; | 469 | inc_nlink(dir); |
470 | d_instantiate(dentry, iget(dir->i_sb,ino)); | 470 | d_instantiate(dentry, iget(dir->i_sb,ino)); |
471 | unlock_kernel(); | 471 | unlock_kernel(); |
472 | 472 | ||