kernel - Fix global counter used in lockf assertions
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 18 Nov 2010 17:20:23 +0000 (09:20 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 18 Nov 2010 17:20:23 +0000 (09:20 -0800)
commit2ff471ca3ac2d6e101134347a23b72931cc90a81
tree18ad90d013cc1ce38729dc4d77ef149624c896c1
parentb28f31b70c866164892d4fa1570538a8568ed7fd
kernel - Fix global counter used in lockf assertions

* lockf elements can be accessed MP.

* This may fix the 'panic: assertion: lf_global_counter>=0 in lf_destroy_range'
  panic.

Reported-by: Peter Avalos <peter@theshell.com>
sys/kern/kern_lockf.c