Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Dec 2004 06:51:07 +0000 (UTC)
From:      Paul Saab <ps@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/nfsclient nfs_vnops.c
Message-ID:  <200412010651.iB16p79s059890@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ps          2004-12-01 06:51:07 UTC

  FreeBSD src repository

  Modified files:
    sys/nfsclient        nfs_vnops.c 
  Log:
  Fix for a race between lookup and readdirplus, that causes
  a deadlock (with NFS exclusive vnode locks enabled). Lookup
  grabs the parent's lock and wants to lock child. Readdirplus
  locks the child and wants to lock parent (for loading the attrs
  for ".."). The fix is to not load the attrs for ".." in
  readdirplus.
  
  Submitted by:   Mohan Srinivasan mohans at yahoo-inc dot com
  Reviewed by:    rwatson
  
  Revision  Changes    Path
  1.229     +28 -0     src/sys/nfsclient/nfs_vnops.c



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