include: linux: [fan|fs|i]notify: Fixed typos and a coding style issue
Subsystems (3)
PATCH 1/1 include: linux: [fan|fs|i]notify: Fixed typos and a coding style issue
s/Writtable/Writeable
s/Unwrittable/Unwriteable
While there fixed an coding style issue reported by ./scripts/checkpatch.pl --file include/linux/fanotify.h
Signed-off-by Alexander Holupirek <[email protected]>
--- include/linux/fanotify.h | 6 +++--- include/linux/fsnotify_backend.h | 4 ++-- include/linux/inotify.h | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-)
include/linux/fanotify.h +3 -3
@@ -6,8 +6,8 @@/* the following events that user-space can register for */ #define FAN_ACCESS 0x00000001/* File was accessed */ #define FAN_MODIFY 0x00000002/* File was modified */ -#define FAN_CLOSE_WRITE 0x00000008/* Unwrittable file closed */ -#define FAN_CLOSE_NOWRITE 0x00000010/* Writtable file closed */ +#define FAN_CLOSE_WRITE 0x00000008/* Unwriteable file closed */ +#define FAN_CLOSE_NOWRITE 0x00000010/* Writeable file closed */ #define FAN_OPEN 0x00000020/* File was opened */ #define FAN_EVENT_ON_CHILD 0x08000000/* interested in child events */
@@ -88,7 +88,7 @@ struct fanotify_response {#define FAN_EVENT_METADATA_LEN (sizeof(struct fanotify_event_metadata))#define FAN_EVENT_NEXT (meta, len) ((len) -= (meta)->event_len, \ - (struct fanotify_event_metadata*)(((char *)(meta)) + \ + (struct fanotify_event_metadata *)(((char *)(meta)) + \ (meta)->event_len))#define FAN_EVENT_OK (meta, len) ((long)(len) >= (long)FAN_EVENT_METADATA_LEN && \
include/linux/fsnotify_backend.h +2 -2
@@ -27,8 +27,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/* Writeable file was closed */ +#define FS_CLOSE_NOWRITE 0x00000010/* Unwriteable 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 */
include/linux/inotify.h +2 -2
@@ -29,8 +29,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/* Writeable file was closed */ +#define IN_CLOSE_NOWRITE 0x00000010/* Unwriteable 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
1.7.1