Fix a bug in the POSIX locking code. The system could lose track of
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 28 Apr 2006 00:13:23 +0000 (00:13 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 28 Apr 2006 00:13:23 +0000 (00:13 +0000)
commit8dbc6e87d3fd3b08dcaad759daba5b0e78f0b8a4
tree60f771a9e20dbfdcebc5a681b2f539ee5f6ce23a
parent41cbf46c7a2138bac55dc1e57cba06ae2f58e3b5
Fix a bug in the POSIX locking code.  The system could lose track of
range locks due to a bad flags assignment, resulting in odd operation and/or
an assertion at process exit.  Fix the flags assignment.

Reported-by: Stefan Krueger <skrueger@meinberlikomm.de>
sys/kern/kern_lockf.c