git: 4390622c8d16 - main - vfs_busy(): fix wording in comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 Oct 2022 00:24:31 UTC
The branch main has been updated by jah:
URL: https://cgit.FreeBSD.org/src/commit/?id=4390622c8d165a9e9e3718d79985826fefce25de
commit 4390622c8d165a9e9e3718d79985826fefce25de
Author: Jason A. Harmening <jah@FreeBSD.org>
AuthorDate: 2022-10-20 03:31:44 +0000
Commit: Jason A. Harmening <jah@FreeBSD.org>
CommitDate: 2022-10-27 00:33:30 +0000
vfs_busy(): fix wording in comment
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D35054
---
sys/kern/vfs_subr.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 931153ea32a6..aaf8f1c27c87 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -819,8 +819,7 @@ vfs_busy(struct mount *mp, int flags)
* flag in addition to MNTK_UNMOUNT, indicating that mount point is
* about to be really destroyed. vfs_busy needs to release its
* reference on the mount point in this case and return with ENOENT,
- * telling the caller that mount mount it tried to busy is no longer
- * valid.
+ * telling the caller the mount it tried to busy is no longer valid.
*/
while (mp->mnt_kern_flag & MNTK_UNMOUNT) {
KASSERT(TAILQ_EMPTY(&mp->mnt_uppers),