freebsd-skq/sys/fs
attilio 9e182da191 Remove explicit calling of lockmgr() with the NULL argument.
Now, lockmgr() function can only be called passing curthread and the
KASSERT() is upgraded according with this.

In order to support on-the-fly owner switching, the new function
lockmgr_disown() has been introduced and gets used in BUF_KERNPROC().
KPI, so, results changed and FreeBSD version will be bumped soon.
Differently from previous code, we assume idle thread cannot try to
acquire the lockmgr as it cannot sleep, so loose the relative check[1]
in BUF_KERNPROC().

Tested by: kris

[1] kib asked for a KASSERT in the lockmgr_disown() about this
condition, but after thinking at it, as this is a well known general
rule, I found it not really necessary.
2008-01-08 23:48:31 +00:00
..
cd9660 Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
coda Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
deadfs Below is slightly edited description of the LOR by Tor Egge: 2007-01-22 11:25:22 +00:00
devfs Lock the vnode interlock while reading v_usecount to update si_usecount 2008-01-08 04:45:24 +00:00
fdescfs Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
fifofs Make ftruncate a 'struct file' operation rather than a vnode operation. 2008-01-07 20:05:19 +00:00
hpfs Remove explicit calling of lockmgr() with the NULL argument. 2008-01-08 23:48:31 +00:00
msdosfs o English lesson from bde@: "iff" is not a typo, it means "if and only if". 2007-11-18 09:21:30 +00:00
ntfs Remove explicit calling of lockmgr() with the NULL argument. 2008-01-08 23:48:31 +00:00
nullfs Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
nwfs Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
portalfs Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
procfs - Move all of the PS_ flags into either p_flag or td_flags. 2007-09-17 05:31:39 +00:00
pseudofs Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
smbfs Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
tmpfs Turn MPASS(0) into panic with more obvious reason why the assertion 2007-12-07 00:00:21 +00:00
udf Fix calculation of descriptor tag checksums. According to ECMA-167, Part 4, 2007-12-11 19:49:40 +00:00
unionfs Trimm out now unused option LK_EXCLUPGRADE from the lockmgr namespace. 2007-12-28 00:38:13 +00:00