freebsd-dev/sys/fs/nullfs
Attilio Rao 0e9eb108f0 Cleanup lockmgr interface and exported KPI:
- Remove the "thread" argument from the lockmgr() function as it is
  always curthread now
- Axe lockcount() function as it is no longer used
- Axe LOCKMGR_ASSERT() as it is bogus really and no currently used.
  Hopefully this will be soonly replaced by something suitable for it.
- Remove the prototype for dumplockinfo() as the function is no longer
  present

Addictionally:
- Introduce a KASSERT() in lockstatus() in order to let it accept only
  curthread or NULL as they should only be passed
- Do a little bit of style(9) cleanup on lockmgr.h

KPI results heavilly broken by this change, so manpages and
FreeBSD_version will be modified accordingly by further commits.

Tested by: matteo
2008-01-24 12:34:30 +00:00
..
null_subr.c vn_lock() is currently only used with the 'curthread' passed as argument. 2008-01-10 01:10:58 +00:00
null_vfsops.c VOP_LOCK1() (and so VOP_LOCK()) and VOP_UNLOCK() are only used in 2008-01-13 14:44:15 +00:00
null_vnops.c Cleanup lockmgr interface and exported KPI: 2008-01-24 12:34:30 +00:00
null.h - Assume that all lower filesystems now support proper locking. Assert 2005-03-15 13:49:33 +00:00