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

2011-04-21 Thread Rick Macklem
> > 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.

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

2011-04-21 Thread Kostik Belousov
On Wed, Apr 20, 2011 at 11:25:18PM +, Rick Macklem wrote: > Author: rmacklem > Date: Wed Apr 20 23:25:18 2011 > New Revision: 220906 > URL: http://svn.freebsd.org/changeset/base/220906 > > Log: > Add a check for VI_DOOMED at the beginning of nfscl_request() > so that it won't try and use v