diff options
author | Len Brown <len.brown@intel.com> | 2005-08-05 13:03:06 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-08-05 13:03:06 -0400 |
commit | e872d4cace8681838e8d18d52c92f4870e980a08 (patch) | |
tree | 082b75cc52935efae68f9f744bc3f8807f7176c6 /include/linux/fsnotify.h | |
parent | 1f3a730117ceda2a7c917d687921fe3c82283968 (diff) | |
parent | 403fe5ae57c831968c3dbbaba291ae825a1c5aaa (diff) |
Merge ../from-linus
Diffstat (limited to 'include/linux/fsnotify.h')
-rw-r--r-- | include/linux/fsnotify.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/fsnotify.h b/include/linux/fsnotify.h index e96a4306ab3b..1cb4935348d8 100644 --- a/include/linux/fsnotify.h +++ b/include/linux/fsnotify.h | |||
@@ -46,10 +46,8 @@ static inline void fsnotify_move(struct inode *old_dir, struct inode *new_dir, | |||
46 | /* | 46 | /* |
47 | * fsnotify_unlink - file was unlinked | 47 | * fsnotify_unlink - file was unlinked |
48 | */ | 48 | */ |
49 | static inline void fsnotify_unlink(struct dentry *dentry, struct inode *dir) | 49 | static inline void fsnotify_unlink(struct dentry *dentry, struct inode *inode, struct inode *dir) |
50 | { | 50 | { |
51 | struct inode *inode = dentry->d_inode; | ||
52 | |||
53 | inode_dir_notify(dir, DN_DELETE); | 51 | inode_dir_notify(dir, DN_DELETE); |
54 | inotify_inode_queue_event(dir, IN_DELETE, 0, dentry->d_name.name); | 52 | inotify_inode_queue_event(dir, IN_DELETE, 0, dentry->d_name.name); |
55 | inotify_inode_queue_event(inode, IN_DELETE_SELF, 0, NULL); | 53 | inotify_inode_queue_event(inode, IN_DELETE_SELF, 0, NULL); |