Fix a bug where the VMAYHAVELOCKS flag on a vnode may get lost, resulting
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 25 Jul 2006 20:01:50 +0000 (20:01 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 25 Jul 2006 20:01:50 +0000 (20:01 +0000)
commit93df580f9b335a529ed4f013d4325471ac32820e
tree9c521206461f33a47aafba0cb17a8af4482b2d19
parent3661e25d910adbc8605b397f77f245cc1bff2aca
Fix a bug where the VMAYHAVELOCKS flag on a vnode may get lost, resulting
in an assertion during exit.

Fix a bug where F_NOEND is not properly set in one of the merge cases.  This
only effects very rare F_GETLK cases.

Reported-by: Joerg Sonnenberger <joerg@britannica.bec.de>
sys/kern/kern_lockf.c