Make remove-vnop-denies-unlink-on-mtpt-
20040325 more likely to work,
and don't forget to afs_PutFakeStat() while we're at it. After we
call afs_EvalFakeStat(), there's no way that mvstat can be 1 -- either
the object wasn't a mountpoint and it'll be mvstat 0, or EvalFakeStat
will evaluate it and it'll be mvstat 2.
return code;
}
- if (adp->mvstat == 1) {
+ if (adp->mvstat == 2) {
+ afs_PutFakeStat(&fakestate);
#ifdef AFS_OSF_ENV
afs_PutVCache(adp);
afs_PutVCache(tvc);