DEVEL15-disconnected-linux-dont-inactive-while-disconnected-20090121

LICENSE IPL10
FIXES 124175

possibly not the ultimate right fix but it will make things work for now


(cherry picked from commit 81e1d54034)
This commit is contained in:
Simon Wilkinson 2009-01-21 21:33:43 +00:00 committed by Derrick Brashear
parent cea3be2fd3
commit 0553066a23

View File

@ -999,7 +999,9 @@ afs_dentry_iput(struct dentry *dp, struct inode *ip)
struct vcache *vcp = VTOAFS(ip);
AFS_GLOCK();
(void) afs_InactiveVCache(vcp, NULL);
if (!AFS_IS_DISCONNECTED || (vcp->states & CUnlinked)) {
(void) afs_InactiveVCache(vcp, NULL);
}
AFS_GUNLOCK();
#ifdef DCACHE_NFSFS_RENAMED
#ifdef AFS_LINUX26_ENV