VN_RELE calls osi_iput on Linux which tries to get GLOCK.

Don't call VN_RELE while holding GLOCK.
This commit is contained in:
Nickolai Zeldovich 2002-07-20 08:53:33 +00:00
parent cabd0bbd4f
commit 4fac7a61d8

View File

@ -485,8 +485,8 @@ static void afs_TryFlushDcacheChildren(struct vcache *tvc)
VN_HOLD(tvc);
AFS_GUNLOCK();
d_prune_aliases(ip);
AFS_GLOCK();
VN_RELE(tvc);
AFS_GLOCK();
#else
restart:
DLOCK();