diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 08:16:23 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 08:16:23 +0000 |
commit | c86f0c7a71e7ade3e38b325c186a9cf374e0411e (patch) | |
tree | 176f04f674860c7cfae9ac5d2ff4d4e1d73cb2b7 /sys/fs/nullfs | |
parent | 423ba8f9bc23d93bfc244aca9b12563b1c9de90d (diff) | |
download | FreeBSD-src-c86f0c7a71e7ade3e38b325c186a9cf374e0411e.zip FreeBSD-src-c86f0c7a71e7ade3e38b325c186a9cf374e0411e.tar.gz |
Remove trailing whitespace.
Diffstat (limited to 'sys/fs/nullfs')
-rw-r--r-- | sys/fs/nullfs/null_vfsops.c | 10 | ||||
-rw-r--r-- | sys/fs/nullfs/null_vnops.c | 18 |
2 files changed, 14 insertions, 14 deletions
diff --git a/sys/fs/nullfs/null_vfsops.c b/sys/fs/nullfs/null_vfsops.c index 9b7e9da..eb1a192 100644 --- a/sys/fs/nullfs/null_vfsops.c +++ b/sys/fs/nullfs/null_vfsops.c @@ -36,7 +36,7 @@ * @(#)null_vfsops.c 8.2 (Berkeley) 1/21/94 * * @(#)lofs_vfsops.c 1.2 (Berkeley) 6/18/92 - * $Id: null_vfsops.c,v 1.5 1995/03/16 18:13:31 bde Exp $ + * $Id: null_vfsops.c,v 1.6 1995/03/16 20:23:39 wollman Exp $ */ /* @@ -149,7 +149,7 @@ nullfs_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 NULLFS_DIAGNOSTIC @@ -204,7 +204,7 @@ nullfs_unmount(mp, mntflags, p) * moment, but who knows... */ #if 0 - mntflushbuf(mp, 0); + mntflushbuf(mp, 0); if (mntinvalbuf(mp, 1)) return (EBUSY); #endif @@ -216,7 +216,7 @@ nullfs_unmount(mp, mntflags, p) #ifdef NULLFS_DIAGNOSTIC vprint("alias root of lower", nullm_rootvp); -#endif +#endif /* * Release reference on underlying root vnode */ @@ -327,7 +327,7 @@ nullfs_vget(mp, ino, vpp) ino_t ino; struct vnode **vpp; { - + return VFS_VGET(MOUNTTONULLMOUNT(mp)->nullm_vfs, ino, vpp); } diff --git a/sys/fs/nullfs/null_vnops.c b/sys/fs/nullfs/null_vnops.c index 9136baf..464d15a 100644 --- a/sys/fs/nullfs/null_vnops.c +++ b/sys/fs/nullfs/null_vnops.c @@ -35,7 +35,7 @@ * * @(#)null_vnops.c 8.1 (Berkeley) 6/10/93 * - * $Id: null_vnops.c,v 1.6 1994/10/10 07:55:29 phk Exp $ + * $Id: null_vnops.c,v 1.7 1995/03/19 14:28:54 davidg Exp $ */ /* @@ -88,7 +88,7 @@ * in the arguments and, if a vnode is return by the operation, * stacks a null-node on top of the returned vnode. * - * Although bypass handles most operations, + * Although bypass handles most operations, * vop_getattr, _inactive, _reclaim, and _print are not bypassed. * Vop_getattr must change the fsid being returned. * Vop_inactive and vop_reclaim are not bypassed so that @@ -109,7 +109,7 @@ * this or other null vnode stacks. * * New vnode stacks come into existance as a result of - * an operation which returns a vnode. + * an operation which returns a vnode. * The bypass routine stacks a null-node above the new * vnode before returning it to the caller. * @@ -119,7 +119,7 @@ * the root null-node (which was created when the null layer was mounted). * Now consider opening "sys". A vop_lookup would be * done on the root null-node. This operation would bypass through - * to the lower layer which would return a vnode representing + * to the lower layer which would return a vnode representing * the UFS "sys". Null_bypass then builds a null-node * aliasing the UFS "sys" and returns this to the caller. * Later operations on the null-node "sys" will repeat this @@ -133,13 +133,13 @@ * then begin modifing the copy. Sed can be used to easily rename * all variables. * - * The umap layer is an example of a layer descended from the + * The umap layer is an example of a layer descended from the * null layer. * * * INVOKING OPERATIONS ON LOWER LAYERS * - * There are two techniques to invoke operations on a lower layer + * There are two techniques to invoke operations on a lower layer * when the operation cannot be completely bypassed. Each method * is appropriate in different situations. In both cases, * it is the responsibility of the aliasing layer to make @@ -200,7 +200,7 @@ int null_bug_bypass = 0; /* for debugging: enables bypass printf'ing */ * to determine what implementation of the op should be invoked * - all mapped vnodes are of our vnode-type (NEEDSWORK: * problems on rmdir'ing mount points and renaming?) - */ + */ int null_bypass(ap) struct vop_generic_args /* { @@ -237,7 +237,7 @@ null_bypass(ap) for (i = 0; i < VDESC_MAX_VPS; reles >>= 1, i++) { if (descp->vdesc_vp_offsets[i] == VDESC_NO_OFFSET) break; /* bail out at end of list */ - vps_p[i] = this_vp_p = + vps_p[i] = this_vp_p = VOPARG_OFFSETTO(struct vnode**,descp->vdesc_vp_offsets[i],ap); /* * We're not guaranteed that any but the first vnode @@ -257,7 +257,7 @@ null_bypass(ap) if (reles & 1) VREF(*this_vp_p); } - + } /* |