[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 and 1.54.4.1

version 1.54, 2000/03/30 12:51:15 version 1.54.4.1, 2000/12/14 23:36:57
Line 3061  nfsrv_commit(nfsd, slp, procp, mrq)
Line 3061  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 3076  nfsrv_commit(nfsd, slp, procp, mrq)
Line 3072  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, procp);          error = VOP_FSYNC(vp, cred, FSYNC_WAIT, off, off + cnt, 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  
changed lines
  Added in v.1.54.4.1

CVSweb <webmaster@jp.NetBSD.org>