Excerpts from internet.computing.openafs.devel: 5-Oct-101 Re: [OpenAFS-devel] porting.. by Nickolai [EMAIL PROTECTED] > It looks like all we'd need to do is convert the refcount increments > and decrements into VN_HOLD/VN_RELE calls (and of course make VN_HOLD > an atomic_inc), and convert the rest to use something like these:
Not all decrements should become VN_RELE's. VN_RELE calls into the kernel, and may do stuff when the refcount drops to 0. Stuff that whoever chose to use tvc->vrefCount-- instead of AFS_RELE/VN_RELE may not have wanted to happen. I don't know that there are any of these left, but I had some in the darwin code at one time (They're gone now, not so much because I found another way to do it, but because apple made a change to their kernel that made it unnecesary). _______________________________________________ OpenAFS-devel mailing list [EMAIL PROTECTED] https://lists.openafs.org/mailman/listinfo/openafs-devel
