cvs commit: src/sys/nfsclient nfs_vnops.c

Paul Saab ps at FreeBSD.org
Tue Nov 30 22:51:07 PST 2004


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


More information about the cvs-src mailing list