Cleanup crit_*() usage to reduce bogus warnings printed to the console
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 5 Jun 2006 21:03:03 +0000 (21:03 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 5 Jun 2006 21:03:03 +0000 (21:03 +0000)
commita975cf3a9729e7e9271824d96ec46d9303c49574
tree5c495d14725473db3bc5335ac5a29ac0d86e46f2
parent7527bc819259c99c88098ec29e1b6b827d3780db
Cleanup crit_*() usage to reduce bogus warnings printed to the console
when a kernel is compiled with DEBUG_CRIT_SECTIONS.

NOTE: DEBUG_CRIT_SECTIONS does a direct pointer comparison rather than a
strcmp in order to reduce overhead.  Supply a string constant in cases
where the string identifier might be (intentionally) different otherwise.
sys/kern/vfs_subr.c
sys/vfs/ufs/ffs_softdep.c