Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jun 2009 10:47:42 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern kern_lockf.c
Message-ID:  <200906231047.n5NAlmTC080603@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kib         2009-06-23 10:47:42 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/kern             kern_lockf.c 
  Log:
  SVN rev 194693 on 2009-06-23 10:47:42Z by kib
  
  MFC r192683:
  In lf_advlockasync(), recheck for doomed vnode after the state->ls_lock
  is acquired. In the lf_purgelocks(), assert that vnode is doomed and set
  *statep to NULL before clearing ls_pending list. Otherwise, we allow for
  the thread executing lf_advlockasync() to put new pending entry after
  state->ls_lock is dropped in lf_purgelocks().
  
  MFC r193931:
  Do not leak the state->ls_lock after VI_DOOMED check introduced
  in the r192683.
  
  MFC r194356:
  Decrement state->ls_threads when vnode appeared to be doomed.
  
  Revision  Changes    Path
  1.57.2.8  +20 -2     src/sys/kern/kern_lockf.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906231047.n5NAlmTC080603>