Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jan 2002 19:57:26 -0800 (PST)
From:      Ian Dowse <iedowse@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/nfsserver nfs_serv.c
Message-ID:  <200201120357.g0C3vQx26915@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
iedowse     2002/01/11 19:57:26 PST

  Modified files:
    sys/nfsserver        nfs_serv.c 
  Log:
  Fix a few NFSv2 issues that slipped in during the big cleanup. The
  semantics of the nfsm_reply() macro were changed so that the caller
  has to explicitly handle the V2 error case, whereas before,
  nfsm_reply() did a `goto nfsmout' then. A few server ops (setattr,
  readlink, create, mkdir) weren't updated to match, so errors in the
  V2 case could cause protocol hangs and leaked mbufs.
  
  Correct some comments that describe the old nfsm_reply behaviour.
  
  [older, harmless nit] Remove the unnecessary `nfsmreply0' label in
  nfsrv_create(), since for its users, the main `ereply' label does
  the same thing.
  
  Revision  Changes    Path
  1.112     +28 -33    src/sys/nfsserver/nfs_serv.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?200201120357.g0C3vQx26915>