[BACK]Return to fdesc_vfsops.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / miscfs / fdesc

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

Diff for /src/sys/miscfs/fdesc/fdesc_vfsops.c between version 1.2 and 1.3

version 1.2, 1993/03/25 06:00:18 version 1.3, 1993/06/07 04:56:35
Line 92  fdesc_mount(mp, path, data, ndp, p)
Line 92  fdesc_mount(mp, path, data, ndp, p)
                 return (error);                  return (error);
   
         fmp = (struct fdescmount *) malloc(sizeof(struct fdescmount),          fmp = (struct fdescmount *) malloc(sizeof(struct fdescmount),
                                  M_UFSMNT, M_WAITOK);   /* XXX */                                   M_MISCFSMNT, M_WAITOK);
         rvp->v_type = VDIR;          rvp->v_type = VDIR;
         rvp->v_flag |= VROOT;          rvp->v_flag |= VROOT;
         /*VTOFDESC(rvp)->f_isroot = 1;*/          /*VTOFDESC(rvp)->f_isroot = 1;*/
Line 179  fdesc_unmount(mp, mntflags, p)
Line 179  fdesc_unmount(mp, mntflags, p)
         /*          /*
          * Finally, throw away the fdescmount structure           * Finally, throw away the fdescmount structure
          */           */
         free(mp->mnt_data, M_UFSMNT);   /* XXX */          free(mp->mnt_data, M_MISCFSMNT);
         mp->mnt_data = 0;          mp->mnt_data = 0;
         return 0;          return 0;
 }  }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

CVSweb <webmaster@jp.NetBSD.org>