Date: Fri, 29 Apr 2016 20:43:51 +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: r298804 - in head/sys/ufs: ffs ufs Message-ID: <201604292043.u3TKhpRe016007@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pfg Date: Fri Apr 29 20:43:51 2016 New Revision: 298804 URL: https://svnweb.freebsd.org/changeset/base/298804 Log: UFS: spelling fixes on comments. No functional change. Modified: head/sys/ufs/ffs/ffs_alloc.c head/sys/ufs/ffs/ffs_softdep.c head/sys/ufs/ffs/ffs_vfsops.c head/sys/ufs/ffs/fs.h head/sys/ufs/ufs/dirhash.h head/sys/ufs/ufs/ufs_acl.c Modified: head/sys/ufs/ffs/ffs_alloc.c ============================================================================== --- head/sys/ufs/ffs/ffs_alloc.c Fri Apr 29 20:33:20 2016 (r298803) +++ head/sys/ufs/ffs/ffs_alloc.c Fri Apr 29 20:43:51 2016 (r298804) @@ -1231,7 +1231,7 @@ ffs_dirpref(pip) * backwards or even to alternate looking forward and backward, * this approach fails badly when the filesystem is nearly full. * Specifically, we first search all the areas that have no space - * and finally try the one preceeding that. We repeat this on + * and finally try the one preceding that. We repeat this on * every request and in the case of the final block end up * searching the entire filesystem. By jumping to the front * of the filesystem, our future forward searches always look @@ -1351,7 +1351,7 @@ ffs_blkpref_ufs1(ip, lbn, indx, bap) /* * If we are at the beginning of a file, or we have already allocated * the maximum number of blocks per cylinder group, or we do not - * have a block allocated immediately preceeding us, then we need + * have a block allocated immediately preceding us, then we need * to decide where to start allocating new blocks. */ if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) { @@ -1456,7 +1456,7 @@ ffs_blkpref_ufs2(ip, lbn, indx, bap) /* * If we are at the beginning of a file, or we have already allocated * the maximum number of blocks per cylinder group, or we do not - * have a block allocated immediately preceeding us, then we need + * have a block allocated immediately preceding us, then we need * to decide where to start allocating new blocks. */ if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0) { Modified: head/sys/ufs/ffs/ffs_softdep.c ============================================================================== --- head/sys/ufs/ffs/ffs_softdep.c Fri Apr 29 20:33:20 2016 (r298803) +++ head/sys/ufs/ffs/ffs_softdep.c Fri Apr 29 20:43:51 2016 (r298804) @@ -13187,7 +13187,7 @@ softdep_request_cleanup(fs, vp, cred, re * * Additionally, if we are unpriviledged and allocating space, * we need to ensure that we clean up enough blocks to get the - * needed number of blocks over the threshhold of the minimum + * needed number of blocks over the threshold of the minimum * number of blocks required to be kept free by the filesystem * (fs_minfree). */ @@ -13888,7 +13888,7 @@ getdirtybuf(bp, lock, waitfor) error = BUF_LOCK(bp, LK_EXCLUSIVE | LK_SLEEPFAIL | LK_INTERLOCK, lock); /* - * Even if we sucessfully acquire bp here, we have dropped + * Even if we successfully acquire bp here, we have dropped * lock, which may violates our guarantee. */ if (error == 0) Modified: head/sys/ufs/ffs/ffs_vfsops.c ============================================================================== --- head/sys/ufs/ffs/ffs_vfsops.c Fri Apr 29 20:33:20 2016 (r298803) +++ head/sys/ufs/ffs/ffs_vfsops.c Fri Apr 29 20:43:51 2016 (r298804) @@ -814,7 +814,7 @@ ffs_mountfs(devvp, mp, td) goto out; } fs->fs_fmod = 0; - fs->fs_flags &= ~FS_INDEXDIRS; /* no support for directory indicies */ + fs->fs_flags &= ~FS_INDEXDIRS; /* no support for directory indices */ fs->fs_flags &= ~FS_UNCLEAN; if (fs->fs_clean == 0) { fs->fs_flags |= FS_UNCLEAN; Modified: head/sys/ufs/ffs/fs.h ============================================================================== --- head/sys/ufs/ffs/fs.h Fri Apr 29 20:33:20 2016 (r298803) +++ head/sys/ufs/ffs/fs.h Fri Apr 29 20:43:51 2016 (r298804) @@ -401,8 +401,8 @@ CTASSERT(sizeof(struct fs) == 1376); * flag to enforce that inconsistent filesystems be mounted read-only. * The FS_INDEXDIRS flag when set indicates that the kernel maintains * on-disk auxiliary indexes (such as B-trees) for speeding directory - * accesses. Kernels that do not support auxiliary indicies clear the - * flag to indicate that the indicies need to be rebuilt (by fsck) before + * accesses. Kernels that do not support auxiliary indices clear the + * flag to indicate that the indices need to be rebuilt (by fsck) before * they can be used. * * FS_ACLS indicates that POSIX.1e ACLs are administratively enabled Modified: head/sys/ufs/ufs/dirhash.h ============================================================================== --- head/sys/ufs/ufs/dirhash.h Fri Apr 29 20:33:20 2016 (r298803) +++ head/sys/ufs/ufs/dirhash.h Fri Apr 29 20:43:51 2016 (r298804) @@ -60,7 +60,7 @@ * together on a TAILQ list, and hashes with higher scores filter * towards the tail (most recently used) end of the list. * - * New hash entries are given an inital score of DH_SCOREINIT and are + * New hash entries are given an initial score of DH_SCOREINIT and are * 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 Modified: head/sys/ufs/ufs/ufs_acl.c ============================================================================== --- head/sys/ufs/ufs/ufs_acl.c Fri Apr 29 20:33:20 2016 (r298803) +++ head/sys/ufs/ufs/ufs_acl.c Fri Apr 29 20:43:51 2016 (r298804) @@ -220,7 +220,7 @@ ufs_getacl_nfs4(struct vop_getacl_args * /* * Read POSIX.1e ACL from an EA. Return error if its not found - * or if any other error has occured. + * or if any other error has occurred. */ static int ufs_get_oldacl(acl_type_t type, struct oldacl *old, struct vnode *vp,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604292043.u3TKhpRe016007>