freebsd-skq/sys/fs/smbfs
attilio 18d0a0dd51 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
..
smbfs_io.c vn_lock() is currently only used with the 'curthread' passed as argument. 2008-01-10 01:10:58 +00:00
smbfs_node.c vn_lock() is currently only used with the 'curthread' passed as argument. 2008-01-10 01:10:58 +00:00
smbfs_node.h
smbfs_smb.c Use pause() rather than tsleep() on stack variables and function pointers. 2007-02-27 17:23:29 +00:00
smbfs_subr.c Ditch crummy fattime <--> timespec conversion functions 2006-10-24 11:55:18 +00:00
smbfs_subr.h Make smbfs capable to use 16bit char set in filenames. 2005-05-04 15:05:46 +00:00
smbfs_vfsops.c Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
smbfs_vnops.c vn_lock() is currently only used with the 'curthread' passed as argument. 2008-01-10 01:10:58 +00:00
smbfs.h