diff options
Diffstat (limited to 'sys/fs/umapfs/umap_vfsops.c')
-rw-r--r-- | sys/fs/umapfs/umap_vfsops.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/fs/umapfs/umap_vfsops.c b/sys/fs/umapfs/umap_vfsops.c index a98ae18..64f05bb 100644 --- a/sys/fs/umapfs/umap_vfsops.c +++ b/sys/fs/umapfs/umap_vfsops.c @@ -35,7 +35,7 @@ * * @(#)umap_vfsops.c 8.3 (Berkeley) 1/21/94 * - * $Id: umap_vfsops.c,v 1.6 1995/03/16 18:13:55 bde Exp $ + * $Id: umap_vfsops.c,v 1.7 1995/03/16 20:23:43 wollman Exp $ */ /* @@ -127,12 +127,12 @@ umapfs_mount(mp, path, data, ndp, p) */ amp->umapm_vfs = lowerrootvp->v_mount; - /* + /* * Now copy in the number of entries and maps for umap mapping. */ amp->info_nentries = args.nentries; amp->info_gnentries = args.gnentries; - error = copyin(args.mapdata, (caddr_t)amp->info_mapdata, + error = copyin(args.mapdata, (caddr_t)amp->info_mapdata, 2*sizeof(u_long)*args.nentries); if (error) return (error); @@ -144,7 +144,7 @@ umapfs_mount(mp, path, data, ndp, p) amp->info_mapdata[i][1]); #endif - error = copyin(args.gmapdata, (caddr_t)amp->info_gmapdata, + error = copyin(args.gmapdata, (caddr_t)amp->info_gmapdata, 2*sizeof(u_long)*args.nentries); if (error) return (error); @@ -152,7 +152,7 @@ umapfs_mount(mp, path, data, ndp, p) #ifdef UMAP_DIAGNOSTIC printf("umap_mount:gnentries %d\n",args.gnentries); for (i = 0; i < args.gnentries; i++) - printf(" group %d maps to %d\n", + printf(" group %d maps to %d\n", amp->info_gmapdata[i][0], amp->info_gmapdata[i][1]); #endif @@ -190,7 +190,7 @@ umapfs_mount(mp, path, data, ndp, p) (void) copyinstr(path, mp->mnt_stat.f_mntonname, MNAMELEN - 1, &size); bzero(mp->mnt_stat.f_mntonname + size, MNAMELEN - size); - (void) copyinstr(args.target, mp->mnt_stat.f_mntfromname, MNAMELEN - 1, + (void) copyinstr(args.target, mp->mnt_stat.f_mntfromname, MNAMELEN - 1, &size); bzero(mp->mnt_stat.f_mntfromname + size, MNAMELEN - size); #ifdef UMAPFS_DIAGNOSTIC @@ -245,7 +245,7 @@ umapfs_unmount(mp, mntflags, p) * moment, but who knows... */ #ifdef notyet - mntflushbuf(mp, 0); + mntflushbuf(mp, 0); if (mntinvalbuf(mp, 1)) return (EBUSY); #endif @@ -257,7 +257,7 @@ umapfs_unmount(mp, mntflags, p) #ifdef UMAPFS_DIAGNOSTIC vprint("alias root of lower", umapm_rootvp); -#endif +#endif /* * Release reference on underlying root vnode */ @@ -368,7 +368,7 @@ umapfs_vget(mp, ino, vpp) ino_t ino; struct vnode **vpp; { - + return (VFS_VGET(MOUNTTOUMAPMOUNT(mp)->umapm_vfs, ino, vpp)); } |