mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
UFS: spelling fixes on comments.
No functional change.
This commit is contained in:
parent
3c3f9e2a46
commit
08e941833d
6 changed files with 10 additions and 10 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -13187,7 +13187,7 @@ softdep_request_cleanup(fs, vp, cred, resource)
|
|||
*
|
||||
* 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)
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -220,7 +220,7 @@ ufs_getacl_nfs4(struct vop_getacl_args *ap)
|
|||
|
||||
/*
|
||||
* 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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue