git: 0551f7bec149 - stable/15 - inotify: Fix comment typos
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Jul 2026 19:14:53 UTC
The branch stable/15 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=0551f7bec1497af87657a0f0e80eea690c30bdd0
commit 0551f7bec1497af87657a0f0e80eea690c30bdd0
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-07-08 18:06:00 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-07-27 17:34:31 +0000
inotify: Fix comment typos
MFC after: 1 week
(cherry picked from commit 3e123be2305a30369f63bcee22ca5e0db527f320)
---
sys/kern/vfs_inotify.c | 2 +-
sys/sys/inotify.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/kern/vfs_inotify.c b/sys/kern/vfs_inotify.c
index f69a14780107..bc8db76d848b 100644
--- a/sys/kern/vfs_inotify.c
+++ b/sys/kern/vfs_inotify.c
@@ -563,7 +563,7 @@ inotify_overflow_event(struct inotify_event *evp)
}
/*
- * Put an event record on the queue for an inotify desscriptor. Return false if
+ * Put an event record on the queue for an inotify descriptor. Return false if
* the record was not enqueued for some reason, true otherwise.
*/
static bool
diff --git a/sys/sys/inotify.h b/sys/sys/inotify.h
index d1f23d5898bb..b8b4c67d9be2 100644
--- a/sys/sys/inotify.h
+++ b/sys/sys/inotify.h
@@ -38,7 +38,7 @@ struct inotify_event {
#define IN_MOVE_SELF 0x00000800
#define IN_ALL_EVENTS 0x00000fff
-/* Events report only for entries in a watched dir, not the dir itself. */
+/* Events reported only for entries in a watched dir, not the dir itself. */
#define _IN_DIR_EVENTS (IN_CLOSE_WRITE | IN_DELETE | IN_MODIFY | \
IN_MOVED_FROM | IN_MOVED_TO)