cvs commit: src/sys/nfsserver nfs_srvsock.c

Doug Rabson dfr at rabson.org
Thu Mar 20 01:44:22 PDT 2008


On 20 Mar 2008, at 02:56, Alfred Perlstein wrote:

> * Doug Rabson <dfr at FreeBSD.org> [080319 05:32] wrote:
>> dfr         2008-03-19 12:33:25 UTC
>>
>>  FreeBSD src repository
>>
>>  Modified files:
>>    sys/nfsserver        nfs_srvsock.c
>>  Log:
>>  Fix a regression from the last revision - don't edit the ns_rec  
>> list while
>>  not holding the lock.
>>
>>  Revision  Changes    Path
>>  1.107     +3 -1      src/sys/nfsserver/nfs_srvsock.c
>
> This function should have a WITNESS check at the top of it.
>
> Can you add it?  If not I will unless you see a problem with
> it.

The various WITNESS_* macros appear to be undocumented and I'm not  
sure what they do. Perhaps it would be best if you added something.



More information about the cvs-src mailing list