cvs commit: src/sys/nfsclient nfs_node.c

Mohan Srinivasan mohans at FreeBSD.org
Tue Nov 28 18:21:41 PST 2006


mohans      2006-11-29 02:21:40 UTC

  FreeBSD src repository

  Modified files:
    sys/nfsclient        nfs_node.c 
  Log:
  In nfs_nget(), we must initialize the fh in the nfsnode before inserting the
  vnode into the vfs hash. Otherwise, another thread walking the hash can trip
  on an nfsnode with an uninitialized or partially initialized fh.
  Thanks to ups@ for spotting this race.
  
  Revision  Changes    Path
  1.85      +6 -6      src/sys/nfsclient/nfs_node.c


More information about the cvs-src mailing list