[BACK]Return to msdosfs_vfsops.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_vfsops.c between version 1.44.4.6 and 1.44.4.7

version 1.44.4.6, 2007/08/20 21:26:07 version 1.44.4.7, 2007/08/24 23:28:38
Line 513  msdosfs_mountfs(devvp, mp, l, argp)
Line 513  msdosfs_mountfs(devvp, mp, l, argp)
          */           */
         if ((error = bread(devvp, 0, secsize, NOCRED, &bp)) != 0)          if ((error = bread(devvp, 0, secsize, NOCRED, &bp)) != 0)
                 goto error_exit;                  goto error_exit;
         bp->b_flags |= B_AGE;  
         bsp = (union bootsector *)bp->b_data;          bsp = (union bootsector *)bp->b_data;
         b33 = (struct byte_bpb33 *)bsp->bs33.bsBPB;          b33 = (struct byte_bpb33 *)bsp->bs33.bsBPB;
         b50 = (struct byte_bpb50 *)bsp->bs50.bsBPB;          b50 = (struct byte_bpb50 *)bsp->bs50.bsBPB;
Line 720  msdosfs_mountfs(devvp, mp, l, argp)
Line 719  msdosfs_mountfs(devvp, mp, l, argp)
         /*          /*
          * Release the bootsector buffer.           * Release the bootsector buffer.
          */           */
         brelse(bp, 0);          brelse(bp, BC_AGE);
         bp = NULL;          bp = NULL;
   
         /*          /*
Line 821  msdosfs_mountfs(devvp, mp, l, argp)
Line 820  msdosfs_mountfs(devvp, mp, l, argp)
   
 error_exit:;  error_exit:;
         if (bp)          if (bp)
                 brelse(bp, 0);                  brelse(bp, BC_AGE);
         if (pmp) {          if (pmp) {
                 if (pmp->pm_inusemap)                  if (pmp->pm_inusemap)
                         free(pmp->pm_inusemap, M_MSDOSFSFAT);                          free(pmp->pm_inusemap, M_MSDOSFSFAT);

Legend:
Removed from v.1.44.4.6  
changed lines
  Added in v.1.44.4.7

CVSweb <webmaster@jp.NetBSD.org>