diff --git sys/isofs/cd9660/cd9660_lookup.c sys/isofs/cd9660/cd9660_lookup.c index 3b56a930349..19f2773600e 100644 --- sys/isofs/cd9660/cd9660_lookup.c +++ sys/isofs/cd9660/cd9660_lookup.c @@ -133,7 +133,7 @@ cd9660_lookup(void *v) lockparent = flags & LOCKPARENT; /* - * Check accessiblity of directory. + * Check accessibility of directory. */ if ((error = VOP_ACCESS(vdp, VEXEC, cred, cnp->cn_proc)) != 0) return (error); diff --git sys/isofs/udf/ecma167-udf.h sys/isofs/udf/ecma167-udf.h index 4210d49dfa3..175b7ff53cc 100644 --- sys/isofs/udf/ecma167-udf.h +++ sys/isofs/udf/ecma167-udf.h @@ -89,7 +89,7 @@ enum { TAGID_EXTATTR_HDR = 262, TAGID_UNALL_SP_ENTRY = 263, TAGID_SPACE_BITMAP = 264, - TAGID_PART_INTEGRETY = 265, + TAGID_PART_INTEGRITY = 265, TAGID_EXTFENTRY = 266, TAGID_MAX = 266 }; @@ -106,7 +106,7 @@ enum { UDF_ACCESSTYPE_PSEUDO_OVERWITE = 0, /* pseudo overwritable, e.g. BD-R's LOW */ UDF_ACCESSTYPE_READ_ONLY = 1, /* really only readable */ UDF_ACCESSTYPE_WRITE_ONCE = 2, /* write once and you're done */ - UDF_ACCESSTYPE_REWRITEABLE = 3, /* may need extra work to rewrite */ + UDF_ACCESSTYPE_REWRITABLE = 3, /* may need extra work to rewrite */ UDF_ACCESSTYPE_OVERWRITABLE = 4 /* no limits on rewriting; e.g. harddisc*/ }; @@ -260,7 +260,7 @@ struct icb_tag { #define UDF_ICB_TAG_FLAGS_DIRORDERED (1<< 3) #define UDF_ICB_TAG_FLAGS_NONRELOC (1<< 4) -#define UDF_ICB_TAG_FLAGS_CONTIGUES (1<< 9) +#define UDF_ICB_TAG_FLAGS_CONTIGUOUS (1<< 9) #define UDF_ICB_TAG_FLAGS_MULTIPLEVERS (1<<12) #define UDF_ICB_TAG_FLAGS_SETUID (1<< 6) @@ -525,7 +525,7 @@ struct space_entry_desc { struct part_hdr_desc { struct short_ad unalloc_space_table; struct short_ad unalloc_space_bitmap; - struct short_ad part_integrety_table; /* has to be ZERO for UDF */ + struct short_ad part_integrity_table; /* has to be ZERO for UDF */ struct short_ad freed_space_table; struct short_ad freed_space_bitmap; uint8_t reserved[88]; diff --git sys/isofs/udf/udf_vfsops.c sys/isofs/udf/udf_vfsops.c index 2ba23e9686e..491b063be84 100644 --- sys/isofs/udf/udf_vfsops.c +++ sys/isofs/udf/udf_vfsops.c @@ -35,7 +35,7 @@ /* * Ok, here's how it goes. The UDF specs are pretty clear on how each data * structure is made up, but not very clear on how they relate to each other. - * Here is the skinny... This demostrates a filesystem with one file in the + * Here is the skinny... This demonstrates a filesystem with one file in the * root directory. Subdirectories are treated just as normal files, but they * have File Id Descriptors of their children as their file data. As for the * Anchor Volume Descriptor Pointer, it can exist in two of the following three diff --git sys/msdosfs/msdosfs_lookup.c sys/msdosfs/msdosfs_lookup.c index 73c9d41989f..39f2c81fe03 100644 --- sys/msdosfs/msdosfs_lookup.c +++ sys/msdosfs/msdosfs_lookup.c @@ -130,7 +130,7 @@ msdosfs_lookup(void *v) #endif /* - * Check accessiblity of directory. + * Check accessibility of directory. */ if ((dp->de_Attributes & ATTR_DIRECTORY) == 0) return (ENOTDIR); diff --git sys/nfs/nfs_aiod.c sys/nfs/nfs_aiod.c index 98c4335f7f6..4cd453262a8 100644 --- sys/nfs/nfs_aiod.c +++ sys/nfs/nfs_aiod.c @@ -150,7 +150,7 @@ out1: free(aiod, M_TEMP, sizeof(*aiod)); nfs_numaiods--; KASSERT(nfs_numaiods >= 0); - /* Rejust the limit of bufs to queue. See comment above. */ + /* Readjust the limit of bufs to queue. See comment above. */ if (nfs_numaiods > 0) nfs_aiodbufqmax = max((bcstats.numbufs / 4) / nfs_numaiods, 64); else diff --git sys/nfs/nfs_socket.c sys/nfs/nfs_socket.c index 38e0ee99d66..0a310837760 100644 --- sys/nfs/nfs_socket.c +++ sys/nfs/nfs_socket.c @@ -1114,7 +1114,7 @@ nfs_rephead(int siz, struct nfsrv_descript *nd, struct nfssvc_sock *slp, /* * nfs timer routine - * Scan the nfsreq list and retranmit any requests that have timed out. + * Scan the nfsreq list and retransmit any requests that have timed out. */ void nfs_timer(void *arg) diff --git sys/nfs/nfs_subs.c sys/nfs/nfs_subs.c index 2c6a0cc1c3f..ef2917010b6 100644 --- sys/nfs/nfs_subs.c +++ sys/nfs/nfs_subs.c @@ -559,7 +559,7 @@ nfsm_rpchead(struct nfsreq *req, struct ucred *cr, int auth_type) /* * RPCAUTH_UNIX fits in an hdr mbuf, in the future other * authorization methods need to figure out their own sizes - * and allocate and chain mbuf's accorindgly. + * and allocate and chain mbufs accordingly. */ mb = req->r_mreq; diff --git sys/ntfs/ntfs.h sys/ntfs/ntfs.h index fff94a32a71..00c8b2d26ce 100644 --- sys/ntfs/ntfs.h +++ sys/ntfs/ntfs.h @@ -237,7 +237,7 @@ struct bootfile { cn_t bf_mftcn; /* $MFT cluster number */ cn_t bf_mftmirrcn; /* $MFTMirr cn */ u_int8_t bf_mftrecsz; /* MFT record size (clust) */ - /* 0xF6 inducates 1/4 */ + /* 0xF6 indicates 1/4 */ u_int32_t bf_ibsz; /* index buffer size */ u_int32_t bf_volsn; /* volume ser. num. */ } __packed; diff --git sys/ntfs/ntfs_subr.c sys/ntfs/ntfs_subr.c index ad8f2af824f..3436436eaa4 100644 --- sys/ntfs/ntfs_subr.c +++ sys/ntfs/ntfs_subr.c @@ -1290,7 +1290,7 @@ ntfs_nttimetounix(u_int64_t nt) { struct timespec t; - /* WindowNT times are in 100 ns and from 1601 Jan 1 */ + /* Windows NT times are in 100 ns and from 1601 Jan 1 */ t.tv_nsec = (nt % (1000 * 1000 * 10)) * 100; t.tv_sec = nt / (1000 * 1000 * 10) - 369LL * 365LL * 24LL * 60LL * 60LL - diff --git sys/ntfs/ntfs_vfsops.c sys/ntfs/ntfs_vfsops.c index efec7c0c741..fe4cec40631 100644 --- sys/ntfs/ntfs_vfsops.c +++ sys/ntfs/ntfs_vfsops.c @@ -496,7 +496,7 @@ ntfs_unmount(struct mount *mp, int mntflags, struct proc *p) /* Check if the type of device node isn't VBAD before * touching v_specinfo. If the device vnode is revoked, the - * field is NULL and touching it causes null pointer derefercence. + * field is NULL and touching it causes null pointer dereference. */ if (ntmp->ntm_devvp->v_type != VBAD) ntmp->ntm_devvp->v_specmountpoint = NULL; diff --git sys/ufs/ext2fs/ext2fs_lookup.c sys/ufs/ext2fs/ext2fs_lookup.c index d77f4a3f298..8d48c5bca4e 100644 --- sys/ufs/ext2fs/ext2fs_lookup.c +++ sys/ufs/ext2fs/ext2fs_lookup.c @@ -264,7 +264,7 @@ ext2fs_lookup(void *v) wantparent = flags & (LOCKPARENT|WANTPARENT); /* - * Check accessiblity of directory. + * Check accessibility of directory. */ if ((error = VOP_ACCESS(vdp, VEXEC, cred, cnp->cn_proc)) != 0) return (error); diff --git sys/ufs/ffs/fs.h sys/ufs/ffs/fs.h index 059450ed95e..1947245e428 100644 --- sys/ufs/ffs/fs.h +++ sys/ufs/ffs/fs.h @@ -73,7 +73,7 @@ * Addresses stored in inodes are capable of addressing fragments * of `blocks'. File system blocks of at most size MAXBSIZE can * be optionally broken into 2, 4, or 8 pieces, each of which is - * addressible; these pieces may be DEV_BSIZE, or some multiple of + * addressable; these pieces may be DEV_BSIZE, or some multiple of * a DEV_BSIZE unit. * * Large files consist of exclusively large data blocks. To avoid diff --git sys/ufs/ufs/dirhash.h sys/ufs/ufs/dirhash.h index 63960b69b4d..d709a91e3a8 100644 --- sys/ufs/ufs/dirhash.h +++ sys/ufs/ufs/dirhash.h @@ -64,7 +64,7 @@ * placed at the most-recently-used end of the list. This helps a lot * in the worst-case case scenario where every directory access is * to a directory that is not hashed (i.e. the working set of hash - * candidates is much larger than the configured memry limit). In this + * candidates is much larger than the configured memory limit). In this * case it limits the number of hash builds to 1/DH_SCOREINIT of the * number of accesses. */ diff --git sys/ufs/ufs/ufs_lookup.c sys/ufs/ufs/ufs_lookup.c index 6f0d6dcaed9..b87c4115210 100644 --- sys/ufs/ufs/ufs_lookup.c +++ sys/ufs/ufs/ufs_lookup.c @@ -141,7 +141,7 @@ ufs_lookup(void *v) wantparent = flags & (LOCKPARENT|WANTPARENT); /* - * Check accessiblity of directory. + * Check accessibility of directory. */ if ((DIP(dp, mode) & IFMT) != IFDIR) return (ENOTDIR);