kib 717539518a Remove one-time use macros which check for the vnode lifecycle. More,
some parts of the checks are in fact redundand in the surrounding
code, and it is more clear what the conditions are by direct testing
of the flags.  Two of the three macros were only used in assertions.

In vnlru_free(), all relevant parts of vholdl() were already inlined,
except the increment of v_holdcnt itself.  Do not call vholdl() to do
the increment as well, this allows to make assertions in
vholdl()/vhold() more strict.

In v_incr_usecount(), call vholdl() before incrementing other ref
counters.  The change is no-op, but it makes less surprising to see
the vnode state in debugger if interrupted inside v_incr_usecount().

Tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2014-07-29 16:42:34 +00:00
..
2014-07-07 00:27:09 +00:00
2014-03-18 21:34:11 +00:00
2014-03-14 06:29:43 +00:00
2014-06-28 17:36:18 +00:00
2012-08-22 20:01:57 +00:00
2012-11-14 10:33:12 +00:00
2014-03-19 12:45:40 +00:00
2014-07-07 00:27:09 +00:00
2014-03-14 06:29:43 +00:00
2014-06-26 13:57:44 +00:00
2014-05-01 22:28:14 +00:00
2014-06-01 04:11:05 +00:00
2014-07-07 00:27:09 +00:00
2014-03-18 21:34:11 +00:00
2014-03-18 21:34:11 +00:00
2012-10-25 09:05:21 +00:00
2014-07-18 14:59:35 +00:00
MFC
2013-02-21 21:59:35 +00:00
2014-04-12 21:39:17 +00:00