[prev in list] [next in list] [prev in thread] [next in thread]
List: git-commits-head
Subject: fanotify: Fix FAN_CLOSE comments
From: Linux Kernel Mailing List <linux-kernel () vger ! kernel ! org>
Date: 2010-10-30 18:59:13
Message-ID: 201010301859.o9UIxD5f014547 () hera ! kernel ! org
[Download RAW message or body]
Gitweb: http://git.kernel.org/linus/50e4a98914de13c6f38f50fd1afa06e2c18b3cf7
Commit: 50e4a98914de13c6f38f50fd1afa06e2c18b3cf7
Parent: 192ca4d1941228e69c1fbeebab317725407e6e65
Author: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
AuthorDate: Thu Oct 28 17:21:59 2010 -0400
Committer: Eric Paris <eparis@redhat.com>
CommitDate: Thu Oct 28 17:22:16 2010 -0400
fanotify: Fix FAN_CLOSE comments
The comments for FAN_CLOSE_WRITE and FAN_CLOSE_NOWRITE do not match
FS_CLOSE_WRITE and FS_CLOSE_NOWRITE, respectively. WRITE is for
writable files while NOWRITE is for non-writable files.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
---
include/linux/fanotify.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/fanotify.h b/include/linux/fanotify.h
index 5e0400a..0f01214 100644
--- a/include/linux/fanotify.h
+++ b/include/linux/fanotify.h
@@ -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 /* Writtable file closed */
+#define FAN_CLOSE_NOWRITE 0x00000010 /* Unwrittable file closed */
#define FAN_OPEN 0x00000020 /* File was opened */
#define FAN_Q_OVERFLOW 0x00004000 /* Event queued overflowed */
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic