diff options
Diffstat (limited to 'include/linux/fsnotify_backend.h')
-rw-r--r-- | include/linux/fsnotify_backend.h | 5 |
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 */ |
281 | extern void fsnotify(struct inode *to_tell, __u32 mask, void *data, int data_is, | 280 | extern 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); |
283 | extern void __fsnotify_parent(struct file *file, struct dentry *dentry, __u32 mask); | 282 | extern void __fsnotify_parent(struct path *path, struct dentry *dentry, __u32 mask); |
284 | extern void __fsnotify_inode_delete(struct inode *inode); | 283 | extern void __fsnotify_inode_delete(struct inode *inode); |
285 | extern u32 fsnotify_get_cookie(void); | 284 | extern 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 | ||
396 | static inline void __fsnotify_parent(struct file *file, struct dentry *dentry, __u32 mask) | 395 | static inline void __fsnotify_parent(struct path *path, struct dentry *dentry, __u32 mask) |
397 | {} | 396 | {} |
398 | 397 | ||
399 | static inline void __fsnotify_inode_delete(struct inode *inode) | 398 | static inline void __fsnotify_inode_delete(struct inode *inode) |