don't do blind d_drop() in nfs_prime_dcache()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Родитель
e23739b4ad
Коммит
696199f8cc
|
@ -450,7 +450,8 @@ void nfs_prime_dcache(struct dentry *parent, struct nfs_entry *entry)
|
|||
nfs_refresh_inode(dentry->d_inode, entry->fattr);
|
||||
goto out;
|
||||
} else {
|
||||
d_drop(dentry);
|
||||
if (d_invalidate(dentry) != 0)
|
||||
goto out;
|
||||
dput(dentry);
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче