mjg 4b9989aca8 vfs: clean up vputx a little
1. replace hand-rolled macros for operation type with enum
2. unlock the vnode in vput itself, there is no need to branch on it. existence
of VPUTX_VPUT remains significant in that the inactive variant adds LK_NOWAIT
to locking request.
3. remove the useless v_usecount assertion. few lines above the checks if
v_usecount > 0 and leaves. should the value be negative, refcount would fail.
4. the CTR return vnode %p to the freelist is incorrect as vdrop may find the
vnode with holdcnt > 1. if the like should exist, it should be moved there
5. no need to error = 0 for everyone

Reviewed by:	kib, jeff (previous version)
Differential Revision:	https://reviews.freebsd.org/D22718
2019-12-08 21:13:07 +00:00
..
2019-09-25 19:20:41 +00:00
2019-12-04 18:21:29 +00:00
2019-09-03 18:56:25 +00:00
2019-08-28 16:18:23 +00:00
2019-11-21 13:59:01 +00:00
2019-03-12 05:10:41 +00:00
2018-10-12 00:32:45 +00:00
2019-12-06 16:34:04 +00:00
2018-08-18 19:45:56 +00:00
2019-10-17 21:33:01 +00:00
2019-09-16 21:31:02 +00:00
2018-06-01 13:26:45 +00:00
2019-02-20 09:38:19 +00:00
2019-11-06 19:44:44 +00:00
2019-07-24 23:04:59 +00:00
2018-11-20 14:58:41 +00:00
2019-09-26 15:41:10 +00:00
2018-06-01 13:26:45 +00:00
2019-11-30 20:10:50 +00:00
2019-12-08 21:13:07 +00:00
2019-11-29 14:02:32 +00:00
2019-08-28 20:34:24 +00:00