diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-08-08 16:21:02 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-08-08 16:21:02 -0400 |
| commit | e4ddcb0a6bf04d53ce77b4eb87bbbb32c4261d11 (patch) | |
| tree | d27d2fea50a384d97aa2d0cf5c8657c916f761d4 /include/linux/inotify.h | |
| parent | f2afa7711f8585ffc088ba538b9a510e0d5dca12 (diff) | |
| parent | 6e86841d05f371b5b9b86ce76c02aaee83352298 (diff) | |
Merge commit 'v2.6.27-rc1' into for-linus
Diffstat (limited to 'include/linux/inotify.h')
| -rw-r--r-- | include/linux/inotify.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/inotify.h b/include/linux/inotify.h index 742b917e7d1b..bd578578a8b9 100644 --- a/include/linux/inotify.h +++ b/include/linux/inotify.h | |||
| @@ -7,6 +7,8 @@ | |||
| 7 | #ifndef _LINUX_INOTIFY_H | 7 | #ifndef _LINUX_INOTIFY_H |
| 8 | #define _LINUX_INOTIFY_H | 8 | #define _LINUX_INOTIFY_H |
| 9 | 9 | ||
| 10 | /* For O_CLOEXEC and O_NONBLOCK */ | ||
| 11 | #include <linux/fcntl.h> | ||
| 10 | #include <linux/types.h> | 12 | #include <linux/types.h> |
| 11 | 13 | ||
| 12 | /* | 14 | /* |
| @@ -63,6 +65,10 @@ struct inotify_event { | |||
| 63 | IN_MOVED_TO | IN_DELETE | IN_CREATE | IN_DELETE_SELF | \ | 65 | IN_MOVED_TO | IN_DELETE | IN_CREATE | IN_DELETE_SELF | \ |
| 64 | IN_MOVE_SELF) | 66 | IN_MOVE_SELF) |
| 65 | 67 | ||
| 68 | /* Flags for sys_inotify_init1. */ | ||
| 69 | #define IN_CLOEXEC O_CLOEXEC | ||
| 70 | #define IN_NONBLOCK O_NONBLOCK | ||
| 71 | |||
| 66 | #ifdef __KERNEL__ | 72 | #ifdef __KERNEL__ |
| 67 | 73 | ||
| 68 | #include <linux/dcache.h> | 74 | #include <linux/dcache.h> |
