aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fsnotify_backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/fsnotify_backend.h')
-rw-r--r--include/linux/fsnotify_backend.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/fsnotify_backend.h b/include/linux/fsnotify_backend.h
index cf165857199b..7a6ba755acc3 100644
--- a/include/linux/fsnotify_backend.h
+++ b/include/linux/fsnotify_backend.h
@@ -214,7 +214,6 @@ struct fsnotify_event {
214#define FSNOTIFY_EVENT_NONE 0 214#define FSNOTIFY_EVENT_NONE 0
215#define FSNOTIFY_EVENT_PATH 1 215#define FSNOTIFY_EVENT_PATH 1
216#define FSNOTIFY_EVENT_INODE 2 216#define FSNOTIFY_EVENT_INODE 2
217#define FSNOTIFY_EVENT_FILE 3
218 int data_type; /* which of the above union we have */ 217 int data_type; /* which of the above union we have */
219 atomic_t refcnt; /* how many groups still are using/need to send this event */ 218 atomic_t refcnt; /* how many groups still are using/need to send this event */
220 __u32 mask; /* the type of access, bitwise OR for FS_* event types */ 219 __u32 mask; /* the type of access, bitwise OR for FS_* event types */
@@ -280,7 +279,7 @@ struct fsnotify_mark_entry {
280/* main fsnotify call to send events */ 279/* main fsnotify call to send events */
281extern void fsnotify(struct inode *to_tell, __u32 mask, void *data, int data_is, 280extern void fsnotify(struct inode *to_tell, __u32 mask, void *data, int data_is,
282 const char *name, u32 cookie); 281 const char *name, u32 cookie);
283extern void __fsnotify_parent(struct file *file, struct dentry *dentry, __u32 mask); 282extern void __fsnotify_parent(struct path *path, struct dentry *dentry, __u32 mask);
284extern void __fsnotify_inode_delete(struct inode *inode); 283extern void __fsnotify_inode_delete(struct inode *inode);
285extern u32 fsnotify_get_cookie(void); 284extern u32 fsnotify_get_cookie(void);
286 285
@@ -393,7 +392,7 @@ static inline void fsnotify(struct inode *to_tell, __u32 mask, void *data, int d
393 const char *name, u32 cookie) 392 const char *name, u32 cookie)
394{} 393{}
395 394
396static inline void __fsnotify_parent(struct file *file, struct dentry *dentry, __u32 mask) 395static inline void __fsnotify_parent(struct path *path, struct dentry *dentry, __u32 mask)
397{} 396{}
398 397
399static inline void __fsnotify_inode_delete(struct inode *inode) 398static inline void __fsnotify_inode_delete(struct inode *inode)