diff options
Diffstat (limited to 'fs/autofs4/root.c')
-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 563ef9d7da9f..348bec0982b0 100644 --- a/fs/autofs4/root.c +++ b/fs/autofs4/root.c | |||
@@ -676,7 +676,7 @@ static int autofs4_dir_rmdir(struct inode *dir, struct dentry *dentry) | |||
676 | dentry->d_inode->i_nlink = 0; | 676 | dentry->d_inode->i_nlink = 0; |
677 | 677 | ||
678 | if (dir->i_nlink) | 678 | if (dir->i_nlink) |
679 | dir->i_nlink--; | 679 | drop_nlink(dir); |
680 | 680 | ||
681 | return 0; | 681 | return 0; |
682 | } | 682 | } |