Skip to contentSkip to conversation

inotify: Fix misspelling of "writable"

PATCH In review Vicki Pfau 2 participants 4 messages Mar 6, 2024

Subsystems (4)
lore
Share & tools
lore

Vicki Pfau

author
#0 lore raw

PATCH 1/3 inotify: Fix misspelling of "writable"

Several file system notification system headers have "writable" misspelled as "writtable" in the comments. This patch fixes it in the inotify header.

---
 include/uapi/linux/inotify.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/uapi/linux/inotify.h +2 -2
index b3e165853d5b..d94f20e38e5d 100644
@@ -30,8 +30,8 @@ struct inotify_event {
 #define IN_ACCESS		0x00000001	/* File was accessed */
 #define IN_MODIFY		0x00000002	/* File was modified */
 #define IN_ATTRIB		0x00000004	/* Metadata changed */
-#define IN_CLOSE_WRITE		0x00000008	/* Writtable file was closed */
-#define IN_CLOSE_NOWRITE	0x00000010	/* Unwrittable file closed */
+#define IN_CLOSE_WRITE		0x00000008	/* Writable file was closed */
+#define IN_CLOSE_NOWRITE	0x00000010	/* Unwritable file closed */
 #define IN_OPEN			0x00000020	/* File was opened */
 #define IN_MOVED_FROM		0x00000040	/* File was moved from X */
 #define IN_MOVED_TO		0x00000080	/* File was moved to Y */
Signature · 1 line
2.44.0
author
#1 lore raw

PATCH 2/3 fsnotify: Fix misspelling of "writable"

Several file system notification system headers have "writable" misspelled as "writtable" in the comments. This patch fixes it in the fsnotify header.

---
 include/linux/fsnotify_backend.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/fsnotify_backend.h +2 -2
index 7f63be5ca0f1..8f40c349b228 100644
@@ -31,8 +31,8 @@
 #define FS_ACCESS		0x00000001	/* File was accessed */
 #define FS_MODIFY		0x00000002	/* File was modified */
 #define FS_ATTRIB		0x00000004	/* Metadata changed */
-#define FS_CLOSE_WRITE		0x00000008	/* Writtable file was closed */
-#define FS_CLOSE_NOWRITE	0x00000010	/* Unwrittable file closed */
+#define FS_CLOSE_WRITE		0x00000008	/* Writable file was closed */
+#define FS_CLOSE_NOWRITE	0x00000010	/* Unwritable file closed */
 #define FS_OPEN			0x00000020	/* File was opened */
 #define FS_MOVED_FROM		0x00000040	/* File was moved from X */
 #define FS_MOVED_TO		0x00000080	/* File was moved to Y */
Signature · 1 line
2.44.0
author
#2 lore raw

PATCH 3/3 fanotify: Fix misspelling of "writable"

In reply to Vicki Pfau

Several file system notification system headers have "writable" misspelled as "writtable" in the comments. This patch fixes it in the fanotify header.

---
 include/uapi/linux/fanotify.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/uapi/linux/fanotify.h +2 -2
index cd14c94e9a1e..a37de58ca571 100644
@@ -8,8 +8,8 @@
 #define FAN_ACCESS		0x00000001	/* File was accessed */
 #define FAN_MODIFY		0x00000002	/* File was modified */
 #define FAN_ATTRIB		0x00000004	/* Metadata changed */
-#define FAN_CLOSE_WRITE		0x00000008	/* Writtable file closed */
-#define FAN_CLOSE_NOWRITE	0x00000010	/* Unwrittable file closed */
+#define FAN_CLOSE_WRITE		0x00000008	/* Writable file closed */
+#define FAN_CLOSE_NOWRITE	0x00000010	/* Unwritable file closed */
 #define FAN_OPEN		0x00000020	/* File was opened */
 #define FAN_MOVED_FROM		0x00000040	/* File was moved from X */
 #define FAN_MOVED_TO		0x00000080	/* File was moved to Y */
Signature · 1 line
2.44.0
maintainer
#3 lore raw
In reply to Vicki Pfau
Quoted 4 lines · Vicki Pfau

Several file system notification system headers have "writable" misspelled as "writtable" in the comments. This patch fixes it in the inotify header.

Thanks! I've added these patches to my tree.

Honza

Quoted 22 lines
---
 include/uapi/linux/inotify.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/uapi/linux/inotify.h +2 -2
index b3e165853d5b..d94f20e38e5d 100644
@@ -30,8 +30,8 @@ struct inotify_event {
 #define IN_ACCESS		0x00000001	/* File was accessed */
 #define IN_MODIFY		0x00000002	/* File was modified */
 #define IN_ATTRIB		0x00000004	/* Metadata changed */
-#define IN_CLOSE_WRITE		0x00000008	/* Writtable file was closed */
-#define IN_CLOSE_NOWRITE	0x00000010	/* Unwrittable file closed */
+#define IN_CLOSE_WRITE		0x00000008	/* Writable file was closed */
+#define IN_CLOSE_NOWRITE	0x00000010	/* Unwritable file closed */
 #define IN_OPEN			0x00000020	/* File was opened */
 #define IN_MOVED_FROM		0x00000040	/* File was moved from X */
 #define IN_MOVED_TO		0x00000080	/* File was moved to Y */
Signature · 1 line
2.44.0
Signature · 2 lines
Jan Kara <[email protected]>
SUSE Labs, CR