diff options
Diffstat (limited to 'fs/autofs4')
-rw-r--r-- | fs/autofs4/root.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c index 348bec0982b0..e21bb4668201 100644 --- a/fs/autofs4/root.c +++ b/fs/autofs4/root.c | |||
@@ -713,7 +713,7 @@ static int autofs4_dir_mkdir(struct inode *dir, struct dentry *dentry, int mode) | |||
713 | if (p_ino && dentry->d_parent != dentry) | 713 | if (p_ino && dentry->d_parent != dentry) |
714 | atomic_inc(&p_ino->count); | 714 | atomic_inc(&p_ino->count); |
715 | ino->inode = inode; | 715 | ino->inode = inode; |
716 | dir->i_nlink++; | 716 | inc_nlink(dir); |
717 | dir->i_mtime = CURRENT_TIME; | 717 | dir->i_mtime = CURRENT_TIME; |
718 | 718 | ||
719 | return 0; | 719 | return 0; |