diff options
author | Amy Griffis <amy.griffis@hp.com> | 2006-06-01 22:11:01 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2006-06-20 11:25:18 +0200 |
commit | 7c29772288b7026504cfe75bfd90d40fbd1574bf (patch) | |
tree | dfc0cfef97c4c5fdbd87bbd9abdbf44bcd21c906 /fs/inotify_user.c | |
parent | [PATCH] inotify (1/5): split kernel API from userspace support (diff) | |
download | linux-7c29772288b7026504cfe75bfd90d40fbd1574bf.tar.xz linux-7c29772288b7026504cfe75bfd90d40fbd1574bf.zip |
[PATCH] inotify (2/5): add name's inode to event handler
When an inotify event includes a dentry name, also include the inode
associated with that name.
Signed-off-by: Amy Griffis <amy.griffis@hp.com>
Acked-by: Robert Love <rml@novell.com>
Acked-by: John McCutchan <john@johnmccutchan.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/inotify_user.c')
-rw-r--r-- | fs/inotify_user.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/inotify_user.c b/fs/inotify_user.c index 845dc79a4e9c..8b83c7190067 100644 --- a/fs/inotify_user.c +++ b/fs/inotify_user.c @@ -253,7 +253,8 @@ inotify_dev_get_event(struct inotify_device *dev) * Can sleep (calls kernel_event()). */ static void inotify_dev_queue_event(struct inotify_watch *w, u32 wd, u32 mask, - u32 cookie, const char *name) + u32 cookie, const char *name, + struct inode *ignored) { struct inotify_user_watch *watch; struct inotify_device *dev; |