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

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

Diff for /src/sys/fs/msdosfs/msdosfs_vnops.c between version 1.52 and 1.52.10.3

version 1.52, 2008/05/16 09:21:59 version 1.52.10.3, 2008/11/20 20:45:38
Line 631  msdosfs_write(v)
Line 631  msdosfs_write(v)
         if (uio->uio_offset + resid > osize) {          if (uio->uio_offset + resid > osize) {
                 count = de_clcount(pmp, uio->uio_offset + resid) -                  count = de_clcount(pmp, uio->uio_offset + resid) -
                         de_clcount(pmp, osize);                          de_clcount(pmp, osize);
                 if ((error = extendfile(dep, count, NULL, NULL, 0)) &&                  if ((error = extendfile(dep, count, NULL, NULL, 0)))
                     (error != ENOSPC || (ioflag & IO_UNIT)))  
                         goto errexit;                          goto errexit;
   
                 dep->de_FileSize = uio->uio_offset + resid;                  dep->de_FileSize = uio->uio_offset + resid;
Line 1818  msdosfs_print(v)
Line 1817  msdosfs_print(v)
         printf(          printf(
             "tag VT_MSDOSFS, startcluster %ld, dircluster %ld, diroffset %ld ",              "tag VT_MSDOSFS, startcluster %ld, dircluster %ld, diroffset %ld ",
             dep->de_StartCluster, dep->de_dirclust, dep->de_diroffset);              dep->de_StartCluster, dep->de_dirclust, dep->de_diroffset);
         printf(" dev %d, %d ", major(dep->de_dev), minor(dep->de_dev));          printf(" dev %llu, %llu ", (unsigned long long)major(dep->de_dev),
               (unsigned long long)minor(dep->de_dev));
         printf("\n");          printf("\n");
         return (0);          return (0);
 }  }

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.52.10.3

CVSweb <webmaster@jp.NetBSD.org>