inotify: Fix misspelling of "writable"
Subsystems (4)
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
@@ -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
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
@@ -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
PATCH 3/3 fanotify: Fix misspelling of "writable"
In reply to Vicki PfauSeveral 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
@@ -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
Jan Kara
maintainerQuoted 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.
Signed-off-by Vicki Pfau <[email protected]>
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@@ -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