Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jan 2000 07:23:00 -0800 (PST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_subr.c
Message-ID:  <200001291523.HAA79231@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2000/01/29 07:23:00 PST

  Modified files:
    sys/kern             vfs_subr.c 
  Log:
  This patch fixes a locking bug that can result in deadlock if
  the codepath is followed.
  
  From the PR:
  
    vclean calls vrele leading to deadlock (if usecount > 0)
  
    vclean() calls vrele() if v_usecount of the node was higher than one.
    But before calling it, it sets the VXLOCK flag, which will make
    vn_lock called from vrele dead-lock.
  
  PR:		kern/15117
  Submitted by:	Assar Westerlund <assar@stacken.kth.se>
  Reviewed by:	rwatson
  Obtained from:	NetBSD
  
  Revision  Changes    Path
  1.246     +18 -3     src/sys/kern/vfs_subr.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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