cvs commit: src/sys/nfsserver nfs_serv.c

Robert Watson rwatson at FreeBSD.org
Mon Aug 30 15:02:58 PDT 2004


rwatson     2004-08-30 22:02:57 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sys/nfsserver        nfs_serv.c 
  Log:
  Merge nfs_serv.c:1.148 to RELENG_5:
  
    date: 2004/08/25 16:52:59;  author: rwatson;  state: Exp;  lines: +1 -1
    Convert a mtx_lock(&Giant) to a mtx_unlock(&Giant) in nfsrv_link() to
    prevent leakage of Giant.  With INVARIANTS, this results in an
    assertion failure following execution of the RPC.  Without INVARIANTS,
    it could result in problems if the NFS server is killed causing nfsd
    to return to user space holding Giant.
  
    Feet provided by:       brueffer
  
  Approved by:    re (scottl)
  
  Revision   Changes    Path
  1.147.2.1  +1 -1      src/sys/nfsserver/nfs_serv.c


More information about the cvs-all mailing list