From owner-svn-src-head@freebsd.org Fri Apr 29 20:43:53 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3F075B219E0; Fri, 29 Apr 2016 20:43:53 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 004EA1EB9; Fri, 29 Apr 2016 20:43:52 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3TKhq6O016013; Fri, 29 Apr 2016 20:43:52 GMT (envelope-from pfg@FreeBSD.org) Received: (from pfg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3TKhpRe016007; Fri, 29 Apr 2016 20:43:51 GMT (envelope-from pfg@FreeBSD.org) Message-Id: <201604292043.u3TKhpRe016007@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pfg set sender to pfg@FreeBSD.org using -f From: "Pedro F. Giffuni" Date: Fri, 29 Apr 2016 20:43:51 +0000 (UTC) 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 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2016 20:43:53 -0000 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,