[BACK]Return to nfs_serv.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / nfs

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/nfs/nfs_serv.c between version 1.54.4.1 and 1.55

version 1.54.4.1, 2000/12/14 23:36:57 version 1.55, 2000/06/27 17:52:32
Line 73 
Line 73 
 #include <sys/kernel.h>  #include <sys/kernel.h>
 #include <ufs/ufs/dir.h>  #include <ufs/ufs/dir.h>
   
 #include <vm/vm.h>  
   
 #include <uvm/uvm_extern.h>  #include <uvm/uvm_extern.h>
   
 #include <nfs/nfsproto.h>  #include <nfs/nfsproto.h>
Line 3061  nfsrv_commit(nfsd, slp, procp, mrq)
Line 3059  nfsrv_commit(nfsd, slp, procp, mrq)
         nfsm_srvmtofh(fhp);          nfsm_srvmtofh(fhp);
         nfsm_dissect(tl, u_int32_t *, 3 * NFSX_UNSIGNED);          nfsm_dissect(tl, u_int32_t *, 3 * NFSX_UNSIGNED);
   
           /*
            * XXX At this time VOP_FSYNC() does not accept offset and byte
            * count parameters, so these arguments are useless (someday maybe).
            */
         off = fxdr_hyper(tl);          off = fxdr_hyper(tl);
         tl += 2;          tl += 2;
         cnt = fxdr_unsigned(int, *tl);          cnt = fxdr_unsigned(int, *tl);
Line 3072  nfsrv_commit(nfsd, slp, procp, mrq)
Line 3074  nfsrv_commit(nfsd, slp, procp, mrq)
                 return (0);                  return (0);
         }          }
         for_ret = VOP_GETATTR(vp, &bfor, cred, procp);          for_ret = VOP_GETATTR(vp, &bfor, cred, procp);
         error = VOP_FSYNC(vp, cred, FSYNC_WAIT, off, off + cnt, procp);          error = VOP_FSYNC(vp, cred, FSYNC_WAIT, procp);
         aft_ret = VOP_GETATTR(vp, &aft, cred, procp);          aft_ret = VOP_GETATTR(vp, &aft, cred, procp);
         vput(vp);          vput(vp);
         nfsm_reply(NFSX_V3WCCDATA + NFSX_V3WRITEVERF);          nfsm_reply(NFSX_V3WCCDATA + NFSX_V3WRITEVERF);

Legend:
Removed from v.1.54.4.1  
changed lines
  Added in v.1.55

CVSweb <webmaster@jp.NetBSD.org>