git: kernel - Fix lockf panic

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Aug 10 13:11:41 PDT 2010


commit 99acf5583a06c73dd13be3ac29f06a1ad8bd73ae
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Aug 10 13:09:10 2010 -0700

    kernel - Fix lockf panic
    
    * Fix a case where the F_UNLCK call made by closef()/fdrop() could fail
      on a resource limit, preventing the locks from being properly cleared.
      This resulted in an assertion panic at exit1().
    
    * Minor cleanups.
    
    Reported-by: swildner

Summary of changes:
 sys/kern/kern_lockf.c |   33 ++++++++++++++++++++++++---------
 1 files changed, 24 insertions(+), 9 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/99acf5583a06c73dd13be3ac29f06a1ad8bd73ae


-- 
DragonFly BSD source repository





More information about the Commits mailing list