diff options
Diffstat (limited to 'fs/autofs')
-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 9cac08d6a873..54ad70731927 100644 --- a/fs/autofs/root.c +++ b/fs/autofs/root.c | |||
@@ -414,7 +414,7 @@ static int autofs_root_rmdir(struct inode *dir, struct dentry *dentry) | |||
414 | 414 | ||
415 | dentry->d_time = (unsigned long)(struct autofs_dir_ent *)NULL; | 415 | dentry->d_time = (unsigned long)(struct autofs_dir_ent *)NULL; |
416 | autofs_hash_delete(ent); | 416 | autofs_hash_delete(ent); |
417 | dir->i_nlink--; | 417 | drop_nlink(dir); |
418 | d_drop(dentry); | 418 | d_drop(dentry); |
419 | unlock_kernel(); | 419 | unlock_kernel(); |
420 | 420 | ||