cvs commit: src/sys/kern kern_lockf.c

Matthew Dillon dillon at
Thu May 11 12:53:07 PDT 2006

dillon      2006/05/11 12:50:29 PDT

DragonFly src repository

  Modified files:
    sys/kern             kern_lockf.c 
  Fix three bugs in the last commit and document special cases.  Tighten
  up the count calculation.   The code now passes the /usr/src/test/lockf
  system test.
  * F_UNLCK wasn't being handled properly in certain cases, resulting in a
  * The 'next' pointer was not bring properly adjusted when removing an
    element (brange) other then the current element in the scan, resulting
    in a posix lock error.
  * The first and last matches were not always being properly merged with
    the created range, resulting in a positive count panic.
  Reported-by: Stefan Krueger <skrueger at xxxxxxxxxxxxxxxx>
  Revision  Changes    Path
  1.29      +59 -15    src/sys/kern/kern_lockf.c

More information about the Commits mailing list