X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=include%2Flinux%2Finotify.h;h=742b917e7d1b274e5582ec30d387b4d881fe5915;hb=4e4c22c71144c1b2e22c257ec6cf08ccb5be1165;hp=e7e7fb7fc778d414f05df646bb02da04a6b0c026;hpb=a9dc971d3fdb857a2bcd6d53238125a2cd31d5f4;p=safe%2Fjmp%2Flinux-2.6 diff --git a/include/linux/inotify.h b/include/linux/inotify.h index e7e7fb7..742b917 100644 --- a/include/linux/inotify.h +++ b/include/linux/inotify.h @@ -120,8 +120,12 @@ extern __s32 inotify_find_update_watch(struct inotify_handle *, struct inode *, u32); extern __s32 inotify_add_watch(struct inotify_handle *, struct inotify_watch *, struct inode *, __u32); +extern __s32 inotify_clone_watch(struct inotify_watch *, struct inotify_watch *); +extern void inotify_evict_watch(struct inotify_watch *); extern int inotify_rm_watch(struct inotify_handle *, struct inotify_watch *); extern int inotify_rm_wd(struct inotify_handle *, __u32); +extern void inotify_remove_watch_locked(struct inotify_handle *, + struct inotify_watch *); extern void get_inotify_watch(struct inotify_watch *); extern void put_inotify_watch(struct inotify_watch *); @@ -205,6 +209,11 @@ static inline int inotify_rm_wd(struct inotify_handle *ih, __u32 wd) return -EOPNOTSUPP; } +static inline void inotify_remove_watch_locked(struct inotify_handle *ih, + struct inotify_watch *watch) +{ +} + static inline void get_inotify_watch(struct inotify_watch *watch) { }