Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 May 2009 12:33:16 +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:  <200905241233.n4OCXNRs029793@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kib         2009-05-24 12:33:16 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_lockf.c 
  Log:
  SVN rev 192683 on 2009-05-24 12:33:16Z by kib
  
  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().
  
  Reviewed by:    dfr
  Tested by:      pho
  MFC after:      1 month
  
  Revision  Changes    Path
  1.69      +17 -2     src/sys/kern/kern_lockf.c



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