|
@@ -470,9 +470,6 @@ void autofs4_dentry_release(struct dentry *de)
|
|
if (inf) {
|
|
if (inf) {
|
|
struct autofs_sb_info *sbi = autofs4_sbi(de->d_sb);
|
|
struct autofs_sb_info *sbi = autofs4_sbi(de->d_sb);
|
|
|
|
|
|
- inf->dentry = NULL;
|
|
|
|
- inf->inode = NULL;
|
|
|
|
-
|
|
|
|
if (sbi) {
|
|
if (sbi) {
|
|
spin_lock(&sbi->rehash_lock);
|
|
spin_lock(&sbi->rehash_lock);
|
|
if (!list_empty(&inf->rehash))
|
|
if (!list_empty(&inf->rehash))
|
|
@@ -480,6 +477,9 @@ void autofs4_dentry_release(struct dentry *de)
|
|
spin_unlock(&sbi->rehash_lock);
|
|
spin_unlock(&sbi->rehash_lock);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ inf->dentry = NULL;
|
|
|
|
+ inf->inode = NULL;
|
|
|
|
+
|
|
autofs4_free_ino(inf);
|
|
autofs4_free_ino(inf);
|
|
}
|
|
}
|
|
}
|
|
}
|