Date: Fri, 29 Apr 2016 20:51:24 +0000 (UTC) From: "Pedro F. Giffuni" <pfg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r298806 - in head/sys/fs: fuse msdosfs nandfs nullfs smbfs tmpfs udf Message-ID: <201604292051.u3TKpOQX018309@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pfg Date: Fri Apr 29 20:51:24 2016 New Revision: 298806 URL: https://svnweb.freebsd.org/changeset/base/298806 Log: sys/fs: spelling fixes in comments. No functional change. Modified: head/sys/fs/fuse/fuse_io.c head/sys/fs/fuse/fuse_vnops.c head/sys/fs/msdosfs/msdosfs_conv.c head/sys/fs/msdosfs/msdosfs_fat.c head/sys/fs/msdosfs/msdosfs_lookup.c head/sys/fs/msdosfs/msdosfs_vnops.c head/sys/fs/nandfs/nandfs_fs.h head/sys/fs/nandfs/nandfs_subr.h head/sys/fs/nandfs/nandfs_sufile.c head/sys/fs/nandfs/nandfs_vnops.c head/sys/fs/nullfs/null_vnops.c head/sys/fs/smbfs/smbfs_io.c head/sys/fs/smbfs/smbfs_subr.h head/sys/fs/tmpfs/tmpfs_vnops.c head/sys/fs/udf/osta.h Modified: head/sys/fs/fuse/fuse_io.c ============================================================================== --- head/sys/fs/fuse/fuse_io.c Fri Apr 29 20:45:50 2016 (r298805) +++ head/sys/fs/fuse/fuse_io.c Fri Apr 29 20:51:24 2016 (r298806) @@ -209,7 +209,7 @@ fuse_read_biobackend(struct vnode *vp, s * buffer based on an EOF condition we need to hold * nfs_rslock() through obtaining the buffer to prevent * a potential writer-appender from messing with n_size. - * Otherwise we may accidently truncate the buffer and + * Otherwise we may accidentally truncate the buffer and * lose dirty data. * * Note that bcount is *not* DEV_BSIZE aligned. @@ -546,7 +546,7 @@ again: (on > bp->b_dirtyend || (on + n) < bp->b_dirtyoff)) { /* * Yes, we mean it. Write out everything to "storage" - * immediatly, without hesitation. (Apart from other + * immediately, without hesitation. (Apart from other * reasons: the only way to know if a write is valid * if its actually written out.) */ Modified: head/sys/fs/fuse/fuse_vnops.c ============================================================================== --- head/sys/fs/fuse/fuse_vnops.c Fri Apr 29 20:45:50 2016 (r298805) +++ head/sys/fs/fuse/fuse_vnops.c Fri Apr 29 20:51:24 2016 (r298806) @@ -1027,7 +1027,7 @@ out: * soon as we get those attrs... There is * one bit of info though not given us by * the daemon: whether his response is - * authorative or not... His response should + * authoritative or not... His response should * be ignored if something is mounted over * the dir in question. But that can be * known only by having the vnode... @@ -1774,7 +1774,7 @@ fuse_vnop_getpages(struct vop_getpages_a /* * We use only the kva address for the buffer, but this is extremely - * convienient and fast. + * convenient and fast. */ bp = getpbuf(&fuse_pbuf_freecnt); @@ -1835,7 +1835,7 @@ fuse_vnop_getpages(struct vop_getpages_a ("fuse_getpages: page %p is dirty", m)); } else { /* - * Read operation was short. If no error occured + * Read operation was short. If no error occurred * we may have hit a zero-fill section. We simply * leave valid set to 0. */ @@ -1908,7 +1908,7 @@ fuse_vnop_putpages(struct vop_putpages_a } /* * We use only the kva address for the buffer, but this is extremely - * convienient and fast. + * convenient and fast. */ bp = getpbuf(&fuse_pbuf_freecnt); Modified: head/sys/fs/msdosfs/msdosfs_conv.c ============================================================================== --- head/sys/fs/msdosfs/msdosfs_conv.c Fri Apr 29 20:45:50 2016 (r298805) +++ head/sys/fs/msdosfs/msdosfs_conv.c Fri Apr 29 20:51:24 2016 (r298806) @@ -759,7 +759,7 @@ winSlotCnt(const u_char *un, size_t unle } /* - * Determine the number of bytes neccessary for Win95 names + * Determine the number of bytes necessary for Win95 names */ size_t winLenFixup(const u_char *un, size_t unlen) Modified: head/sys/fs/msdosfs/msdosfs_fat.c ============================================================================== --- head/sys/fs/msdosfs/msdosfs_fat.c Fri Apr 29 20:45:50 2016 (r298805) +++ head/sys/fs/msdosfs/msdosfs_fat.c Fri Apr 29 20:51:24 2016 (r298806) @@ -175,7 +175,7 @@ pcbmap(struct denode *dep, u_long findcn /* * Rummage around in the fat cache, maybe we can avoid tromping - * thru every fat entry for the file. And, keep track of how far + * through every fat entry for the file. And, keep track of how far * off the cache was from where we wanted to be. */ i = 0; Modified: head/sys/fs/msdosfs/msdosfs_lookup.c ============================================================================== --- head/sys/fs/msdosfs/msdosfs_lookup.c Fri Apr 29 20:45:50 2016 (r298805) +++ head/sys/fs/msdosfs/msdosfs_lookup.c Fri Apr 29 20:51:24 2016 (r298806) @@ -924,7 +924,7 @@ readde(struct denode *dep, struct buf ** /* * Remove a directory entry. At this point the file represented by the - * directory entry to be removed is still full length until noone has it + * directory entry to be removed is still full length until no one has it * open. When the file no longer being used msdosfs_inactive() is called * and will truncate the file to 0 length. When the vnode containing the * denode is needed for some other purpose by VFS it will call @@ -975,7 +975,7 @@ removede(struct denode *pdep, struct den offset += sizeof(struct direntry); while (1) { /* - * We are a bit agressive here in that we delete any Win95 + * We are a bit aggressive here in that we delete any Win95 * entries preceding this entry, not just the ones we "own". * Since these presumably aren't valid anyway, * there should be no harm. Modified: head/sys/fs/msdosfs/msdosfs_vnops.c ============================================================================== --- head/sys/fs/msdosfs/msdosfs_vnops.c Fri Apr 29 20:45:50 2016 (r298805) +++ head/sys/fs/msdosfs/msdosfs_vnops.c Fri Apr 29 20:51:24 2016 (r298806) @@ -116,7 +116,7 @@ static vop_vptofh_t msdosfs_vptofh; * that when a directory is actually read/written (via read, write, or * readdir, or seek) we must use the vnode for the filesystem instead of * the vnode for the directory as would happen in ufs. This is to insure we - * retreive the correct block from the buffer cache since the hash value is + * retrieve the correct block from the buffer cache since the hash value is * based upon the vnode address and the desired block number. */ Modified: head/sys/fs/nandfs/nandfs_fs.h ============================================================================== --- head/sys/fs/nandfs/nandfs_fs.h Fri Apr 29 20:45:50 2016 (r298805) +++ head/sys/fs/nandfs/nandfs_fs.h Fri Apr 29 20:51:24 2016 (r298806) @@ -343,7 +343,7 @@ struct nandfs_segment_summary { /* * Structure of DAT/inode file. * - * A DAT file is devided into groups. The maximum number of groups is the + * A DAT file is divided into groups. The maximum number of groups is the * number of block group descriptors that fit into one block; this descriptor * only gives the number of free entries in the associated group. * Modified: head/sys/fs/nandfs/nandfs_subr.h ============================================================================== --- head/sys/fs/nandfs/nandfs_subr.h Fri Apr 29 20:45:50 2016 (r298805) +++ head/sys/fs/nandfs/nandfs_subr.h Fri Apr 29 20:51:24 2016 (r298806) @@ -114,7 +114,7 @@ int nandfs_free_entry(struct nandfs_mdt int nandfs_get_entry_block(struct nandfs_mdt *, struct nandfs_node *, struct nandfs_alloc_request *, uint32_t *, int); -/* inode managment */ +/* Inode management. */ int nandfs_node_create(struct nandfsmount *, struct nandfs_node **, uint16_t); int nandfs_node_destroy(struct nandfs_node *); int nandfs_node_update(struct nandfs_node *); Modified: head/sys/fs/nandfs/nandfs_sufile.c ============================================================================== --- head/sys/fs/nandfs/nandfs_sufile.c Fri Apr 29 20:45:50 2016 (r298805) +++ head/sys/fs/nandfs/nandfs_sufile.c Fri Apr 29 20:51:24 2016 (r298806) @@ -137,7 +137,7 @@ nandfs_alloc_segment(struct nandfs_devic rest = (fsdev->nd_blocksize - offset) / seg_size; /* Go through all su usage in block */ while (rest) { - /* When last check start from beggining */ + /* When last check start from beginning */ if (i == nsegments) break; Modified: head/sys/fs/nandfs/nandfs_vnops.c ============================================================================== --- head/sys/fs/nandfs/nandfs_vnops.c Fri Apr 29 20:45:50 2016 (r298805) +++ head/sys/fs/nandfs/nandfs_vnops.c Fri Apr 29 20:51:24 2016 (r298806) @@ -1251,12 +1251,12 @@ nandfs_readdir(struct vop_readdir_args * diroffset += ndirent->rec_len; blkoff += ndirent->rec_len; - /* Remember the last entry we transfered */ + /* Remember the last entry we transferred */ transoffset = diroffset; } brelse(bp); - /* Pass on last transfered offset */ + /* Pass on last transferred offset */ uio->uio_offset = transoffset; } Modified: head/sys/fs/nullfs/null_vnops.c ============================================================================== --- head/sys/fs/nullfs/null_vnops.c Fri Apr 29 20:45:50 2016 (r298805) +++ head/sys/fs/nullfs/null_vnops.c Fri Apr 29 20:51:24 2016 (r298806) @@ -117,7 +117,7 @@ * are created as a result of vnode operations on * this or other null vnode stacks. * - * New vnode stacks come into existance as a result of + * New vnode stacks come into existence as a result of * an operation which returns a vnode. * The bypass routine stacks a null-node above the new * vnode before returning it to the caller. Modified: head/sys/fs/smbfs/smbfs_io.c ============================================================================== --- head/sys/fs/smbfs/smbfs_io.c Fri Apr 29 20:45:50 2016 (r298805) +++ head/sys/fs/smbfs/smbfs_io.c Fri Apr 29 20:51:24 2016 (r298806) @@ -520,7 +520,7 @@ smbfs_getpages(ap) ("smbfs_getpages: page %p is dirty", m)); } else { /* - * Read operation was short. If no error occured + * Read operation was short. If no error occurred * we may have hit a zero-fill section. We simply * leave valid set to 0. */ Modified: head/sys/fs/smbfs/smbfs_subr.h ============================================================================== --- head/sys/fs/smbfs/smbfs_subr.h Fri Apr 29 20:45:50 2016 (r298805) +++ head/sys/fs/smbfs/smbfs_subr.h Fri Apr 29 20:51:24 2016 (r298806) @@ -107,7 +107,7 @@ struct smbfs_fctx { struct smb_t2rq * uf_t2; } f_urq; int f_left; /* entries left */ - int f_ecnt; /* entries left in the current reponse */ + int f_ecnt; /* entries left in the current response */ int f_eofs; /* entry offset in the parameter block */ u_char f_skey[SMB_SKEYLEN]; /* server side search context */ u_char f_fname[8 + 1 + 3 + 1]; /* common case for 8.3 filenames */ Modified: head/sys/fs/tmpfs/tmpfs_vnops.c ============================================================================== --- head/sys/fs/tmpfs/tmpfs_vnops.c Fri Apr 29 20:45:50 2016 (r298805) +++ head/sys/fs/tmpfs/tmpfs_vnops.c Fri Apr 29 20:51:24 2016 (r298806) @@ -840,7 +840,7 @@ tmpfs_rename(struct vop_rename_args *v) /* If re-naming a directory to another preexisting directory * ensure that the target directory is empty so that its * removal causes no side effects. - * Kern_rename gurantees the destination to be a directory + * Kern_rename guarantees the destination to be a directory * if the source is one. */ if (tvp != NULL) { MPASS(tnode != NULL); Modified: head/sys/fs/udf/osta.h ============================================================================== --- head/sys/fs/udf/osta.h Fri Apr 29 20:45:50 2016 (r298805) +++ head/sys/fs/udf/osta.h Fri Apr 29 20:51:24 2016 (r298806) @@ -28,7 +28,7 @@ #endif /*********************************************************************** - * The following two typedef's are to remove compiler dependancies. + * The following two typedef's are to remove compiler dependencies. * byte needs to be unsigned 8-bit, and unicode_t needs to be * unsigned 16-bit. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604292051.u3TKpOQX018309>