svn commit: r220906 - head/sys/fs/nfsclient

Rick Macklem rmacklem at uoguelph.ca
Thu Apr 21 12:53:24 UTC 2011


> 
> Is vnode lock held at this point ? If yes, I suggest to add
> ASSERT_VOP_{E,}LOCKED() assertion both to enforce the invariant, and
> to document the state to readers of the code.

Well, I thought it was always locked, but when I added the assertion
it failed for an I/O RPC done by the nfsiod. So, I've reverted it and
need to spend some time figuring out if I can lock the vnode safely
for the I/O operations done by the nfsiod.

Thanks for spotting this, rick


More information about the svn-src-all mailing list