diff options
author | truckman <truckman@FreeBSD.org> | 2002-09-22 08:54:17 +0000 |
---|---|---|
committer | truckman <truckman@FreeBSD.org> | 2002-09-22 08:54:17 +0000 |
commit | 1ceb27771f19bd8b9157ed86ec2ad78967be12a7 (patch) | |
tree | edd917ff47d2cc57aba4997fe4c0d0a43ce7a2eb /sys/fs/unionfs/union_vfsops.c | |
parent | 6d7819a5d47018cd38813f604f06d909988df586 (diff) | |
download | FreeBSD-src-1ceb27771f19bd8b9157ed86ec2ad78967be12a7.zip FreeBSD-src-1ceb27771f19bd8b9157ed86ec2ad78967be12a7.tar.gz |
Fix misspellings, capitalization, and punctuation in comments. Minor
comment phrasing and style changes.
Diffstat (limited to 'sys/fs/unionfs/union_vfsops.c')
-rw-r--r-- | sys/fs/unionfs/union_vfsops.c | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/sys/fs/unionfs/union_vfsops.c b/sys/fs/unionfs/union_vfsops.c index c4d362c..249e126 100644 --- a/sys/fs/unionfs/union_vfsops.c +++ b/sys/fs/unionfs/union_vfsops.c @@ -67,7 +67,7 @@ static int union_unmount(struct mount *mp, int mntflags, struct thread *td); /* - * Mount union filesystem + * Mount union filesystem. */ static int union_mount(mp, ndp, td) @@ -99,7 +99,7 @@ union_mount(mp, ndp, td) */ if (mp->mnt_flag & MNT_UPDATE) /* - * Need to provide. + * Need to provide: * 1. a way to convert between rdonly and rdwr mounts. * 2. support for nfs exports. */ @@ -227,7 +227,7 @@ union_mount(mp, ndp, td) /* * Unless the mount is readonly, ensure that the top layer - * supports whiteout operations + * supports whiteout operations. */ if ((mp->mnt_flag & MNT_RDONLY) == 0) { error = VOP_WHITEOUT(um->um_uppervp, NULL, LOOKUP); @@ -313,7 +313,7 @@ bad: } /* - * Free reference to union layer + * Free reference to union layer. */ static int union_unmount(mp, mntflags, td) @@ -359,7 +359,9 @@ union_unmount(mp, mntflags, td) freeing = n; } - /* If the most recent vflush failed, the filesystem is still busy. */ + /* + * If the most recent vflush failed, the filesystem is still busy. + */ if (error) return (error); @@ -371,7 +373,7 @@ union_unmount(mp, mntflags, td) vrele(um->um_uppervp); crfree(um->um_cred); /* - * Finally, throw away the union_mount structure + * Finally, throw away the union_mount structure. */ free(mp->mnt_data, M_UNIONFSMNT); /* XXX */ mp->mnt_data = 0; @@ -430,7 +432,9 @@ union_statfs(mp, sbp, td) return (error); } - /* now copy across the "interesting" information and fake the rest */ + /* + * Now copy across the "interesting" information and fake the rest. + */ #if 0 sbp->f_type = mstat.f_type; sbp->f_flags = mstat.f_flags; @@ -453,9 +457,9 @@ union_statfs(mp, sbp, td) sbp->f_iosize = mstat.f_iosize; /* - * if the lower and upper blocksizes differ, then frig the + * If the lower and upper blocksizes differ, then frig the * block counts so that the sizes reported by df make some - * kind of sense. none of this makes sense though. + * kind of sense. None of this makes sense though. */ if (mstat.f_bsize != lbsize) |