[OpenAFS] .__afsXXX files don't get removed, makes directories unremovable
chas williams - CONTRACTOR
Sun, 08 Oct 2006 11:28:09 -0400
In message <Pine.GSO.firstname.lastname@example.org>,Derrick J Brashear writes:
>also, you left out critical things like the client platform
the bug with this on linux platforms seems to be holding a write lock
on the vnode when calling afs_InactiveVCache(). afs_remunlink() expects
to take a write lock on the vnode in question. if it fails, it gives up.
you should probably hold the vnode write lock since afs_InactiveVCache()
does change some of the vnode's members. so, should afs_remunlink()
be taking the write lock? the quick fix is to not hold the lock
across afs_InactiveVCache(). is this suitable for long term?