diff options
| author | Steve French <sfrench@us.ibm.com> | 2006-03-30 22:35:56 -0500 |
|---|---|---|
| committer | Steve French <sfrench@us.ibm.com> | 2006-03-30 22:35:56 -0500 |
| commit | d62e54abca1146981fc9f98f85ff398a113a22c2 (patch) | |
| tree | 870420dbc4c65e716dcef8a802aafdc0ef97a8b4 /include/linux/inotify.h | |
| parent | fd4a0b92db6a57cba8d03efbe1cebf91f9124ce0 (diff) | |
| parent | ce362c009250340358a7221f3cdb7954cbf19c01 (diff) | |
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'include/linux/inotify.h')
| -rw-r--r-- | include/linux/inotify.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/inotify.h b/include/linux/inotify.h index 267c88b5f742..09e00433c78e 100644 --- a/include/linux/inotify.h +++ b/include/linux/inotify.h | |||
| @@ -71,6 +71,8 @@ struct inotify_event { | |||
| 71 | 71 | ||
| 72 | #ifdef CONFIG_INOTIFY | 72 | #ifdef CONFIG_INOTIFY |
| 73 | 73 | ||
| 74 | extern void inotify_d_instantiate(struct dentry *, struct inode *); | ||
| 75 | extern void inotify_d_move(struct dentry *); | ||
| 74 | extern void inotify_inode_queue_event(struct inode *, __u32, __u32, | 76 | extern void inotify_inode_queue_event(struct inode *, __u32, __u32, |
| 75 | const char *); | 77 | const char *); |
| 76 | extern void inotify_dentry_parent_queue_event(struct dentry *, __u32, __u32, | 78 | extern void inotify_dentry_parent_queue_event(struct dentry *, __u32, __u32, |
| @@ -81,6 +83,15 @@ extern u32 inotify_get_cookie(void); | |||
| 81 | 83 | ||
| 82 | #else | 84 | #else |
| 83 | 85 | ||
| 86 | static inline void inotify_d_instantiate(struct dentry *dentry, | ||
| 87 | struct inode *inode) | ||
| 88 | { | ||
| 89 | } | ||
| 90 | |||
| 91 | static inline void inotify_d_move(struct dentry *dentry) | ||
| 92 | { | ||
| 93 | } | ||
| 94 | |||
| 84 | static inline void inotify_inode_queue_event(struct inode *inode, | 95 | static inline void inotify_inode_queue_event(struct inode *inode, |
| 85 | __u32 mask, __u32 cookie, | 96 | __u32 mask, __u32 cookie, |
| 86 | const char *filename) | 97 | const char *filename) |
