[BACK]Return to udf_vnops.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / fs / udf

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

Diff for /src/sys/fs/udf/udf_vnops.c between version 1.69 and 1.69.6.2

version 1.69, 2011/11/18 21:18:51 version 1.69.6.2, 2012/08/12 12:59:51
Line 368  udf_write(void *v)
Line 368  udf_write(void *v)
                   (old_offset >> 16 != uio->uio_offset >> 16)) {                    (old_offset >> 16 != uio->uio_offset >> 16)) {
                         mutex_enter(vp->v_interlock);                          mutex_enter(vp->v_interlock);
                         error = VOP_PUTPAGES(vp, (old_offset >> 16) << 16,                          error = VOP_PUTPAGES(vp, (old_offset >> 16) << 16,
                             (uio->uio_offset >> 16) << 16, PGO_CLEANIT);                              (uio->uio_offset >> 16) << 16,
                               PGO_CLEANIT | PGO_LAZY);
                         old_offset = uio->uio_offset;                          old_offset = uio->uio_offset;
                 }                  }
         }          }
Line 794  out:
Line 795  out:
          * the file might not be found and thus putting it into the namecache           * the file might not be found and thus putting it into the namecache
          * might be seen as negative caching.           * might be seen as negative caching.
          */           */
         if ((cnp->cn_flags & MAKEENTRY) && nameiop != CREATE)          if (nameiop != CREATE)
                 cache_enter(dvp, *vpp, cnp);                  cache_enter(dvp, *vpp, cnp);
   
         DPRINTFIF(LOOKUP, error, ("udf_lookup returing error %d\n", error));          DPRINTFIF(LOOKUP, error, ("udf_lookup returing error %d\n", error));
Line 2224  udf_fsync(void *v)
Line 2225  udf_fsync(void *v)
   
         /* flush data and wait for it when requested */          /* flush data and wait for it when requested */
         wait = (ap->a_flags & FSYNC_WAIT) ? UPDATE_WAIT : 0;          wait = (ap->a_flags & FSYNC_WAIT) ? UPDATE_WAIT : 0;
         error = vflushbuf(vp, wait);          error = vflushbuf(vp, ap->a_flags);
         if (error)          if (error)
                 return error;                  return error;
   
Line 2379  const struct vnodeopv_entry_desc udf_vno
Line 2380  const struct vnodeopv_entry_desc udf_vno
 const struct vnodeopv_desc udf_vnodeop_opv_desc = {  const struct vnodeopv_desc udf_vnodeop_opv_desc = {
         &udf_vnodeop_p, udf_vnodeop_entries          &udf_vnodeop_p, udf_vnodeop_entries
 };  };
   

Legend:
Removed from v.1.69  
changed lines
  Added in v.1.69.6.2

CVSweb <webmaster@jp.NetBSD.org>