mirror of
https://git.openafs.org/openafs.git
synced 2025-02-01 05:57:43 +00:00
STABLE14-linux-vcache-extra-ref-unneeded-20060126
FIXES 25829 the dynamic/system inode version of the linux client already keeps an extra reference when the inode is on the vcache list. the inode/vnode should not go away while we are trying to flush the dcache children. (cherry picked from commit 78835720e0eac5897568f0ce32cd0ec20dc4c569)
This commit is contained in:
parent
b12283bf2b
commit
4881ce6c77
@ -679,7 +679,6 @@ afs_NewVCache(struct VenusFid *afid, struct server *serverp)
|
||||
if (tvc != afs_globalVp && VREFCOUNT(tvc) > 1 && tvc->opens == 0) {
|
||||
struct dentry *dentry;
|
||||
struct list_head *cur, *head;
|
||||
AFS_FAST_HOLD(tvc);
|
||||
AFS_GUNLOCK();
|
||||
#if defined(AFS_LINUX24_ENV)
|
||||
spin_lock(&dcache_lock);
|
||||
@ -715,7 +714,6 @@ restart:
|
||||
#endif
|
||||
inuse:
|
||||
AFS_GLOCK();
|
||||
AFS_FAST_RELE(tvc);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user