freebsd-nq/sys/compat
Attilio Rao cb05b60a89 vn_lock() is currently only used with the 'curthread' passed as argument.
Remove this argument and pass curthread directly to underlying
VOP_LOCK1() VFS method. This modify makes the code cleaner and in
particular remove an annoying dependence helping next lockmgr() cleanup.
KPI results, obviously, changed.

Manpage and FreeBSD_version will be updated through further commits.

As a side note, would be valuable to say that next commits will address
a similar cleanup about VFS methods, in particular vop_lock1 and
vop_unlock.

Tested by:	Diego Sardina <siarodx at gmail dot com>,
		Andrea Di Pasquale <whyx dot it at gmail dot com>
2008-01-10 01:10:58 +00:00
..
freebsd32 Regen for shm_open(2) and shm_unlink(2). 2008-01-08 22:01:26 +00:00
ia32 Allow the ia32 resource limits (compat.ia32.max{dsiz,ssiz,vmem} to be 2007-09-24 20:49:39 +00:00
linprocfs vn_lock() is currently only used with the 'curthread' passed as argument. 2008-01-10 01:10:58 +00:00
linsysfs Add a pn_destroy field to pfs_node. This field points to a destructor 2007-03-12 12:16:52 +00:00
linux vn_lock() is currently only used with the 'curthread' passed as argument. 2008-01-10 01:10:58 +00:00
ndis Add a new 'why' argument to kdb_enter(), and a set of constants to use 2007-12-25 17:52:02 +00:00
netbsd Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
opensolaris vn_lock() is currently only used with the 'curthread' passed as argument. 2008-01-10 01:10:58 +00:00
pecoff vn_lock() is currently only used with the 'curthread' passed as argument. 2008-01-10 01:10:58 +00:00
svr4 vn_lock() is currently only used with the 'curthread' passed as argument. 2008-01-10 01:10:58 +00:00