[BACK]Return to ffs_vfsops.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / ufs / ffs

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

Diff for /src/sys/ufs/ffs/ffs_vfsops.c between version 1.275.2.2 and 1.275.2.2.2.2

version 1.275.2.2, 2012/09/13 22:27:43 version 1.275.2.2.2.2, 2016/08/27 14:41:00
Line 329  ffs_mount(struct mount *mp, const char *
Line 329  ffs_mount(struct mount *mp, const char *
         int error = 0, flags, update;          int error = 0, flags, update;
         mode_t accessmode;          mode_t accessmode;
   
           if (args == NULL)
                   return EINVAL;
         if (*data_len < sizeof *args)          if (*data_len < sizeof *args)
                 return EINVAL;                  return EINVAL;
   
Line 1358  ffs_oldfscompat_read(struct fs *fs, stru
Line 1360  ffs_oldfscompat_read(struct fs *fs, stru
                 fs->fs_old_trackskew = 0;                  fs->fs_old_trackskew = 0;
         }          }
   
         if (fs->fs_old_inodefmt < FS_44INODEFMT) {          if (fs->fs_magic == FS_UFS1_MAGIC &&
               fs->fs_old_inodefmt < FS_44INODEFMT) {
                 fs->fs_maxfilesize = (u_quad_t) 1LL << 39;                  fs->fs_maxfilesize = (u_quad_t) 1LL << 39;
                 fs->fs_qbmask = ~fs->fs_bmask;                  fs->fs_qbmask = ~fs->fs_bmask;
                 fs->fs_qfmask = ~fs->fs_fmask;                  fs->fs_qfmask = ~fs->fs_fmask;
Line 1872  ffs_vget(struct mount *mp, ino_t ino, st
Line 1875  ffs_vget(struct mount *mp, ino_t ino, st
          * fix until fsck has been changed to do the update.           * fix until fsck has been changed to do the update.
          */           */
   
         if (fs->fs_old_inodefmt < FS_44INODEFMT) {              /* XXX */          if (fs->fs_magic == FS_UFS1_MAGIC &&                    /* XXX */
               fs->fs_old_inodefmt < FS_44INODEFMT) {              /* XXX */
                 ip->i_uid = ip->i_ffs1_ouid;                    /* XXX */                  ip->i_uid = ip->i_ffs1_ouid;                    /* XXX */
                 ip->i_gid = ip->i_ffs1_ogid;                    /* XXX */                  ip->i_gid = ip->i_ffs1_ogid;                    /* XXX */
         }                                                       /* XXX */          }                                                       /* XXX */

Legend:
Removed from v.1.275.2.2  
changed lines
  Added in v.1.275.2.2.2.2

CVSweb <webmaster@jp.NetBSD.org>