aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRobert Love <rml@novell.com>2005-07-13 12:38:39 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-13 11:09:31 -0700
commit5995f16b4a464c8a57de7c9d5ddf4758dbacad41 (patch)
treee26de11916f1f6234f954b262837501aca263da7 /include
parent0399cb08c54708db231d616f106f64d920e0b723 (diff)
downloadkernel_samsung_smdk4412-5995f16b4a464c8a57de7c9d5ddf4758dbacad41.zip
kernel_samsung_smdk4412-5995f16b4a464c8a57de7c9d5ddf4758dbacad41.tar.gz
kernel_samsung_smdk4412-5995f16b4a464c8a57de7c9d5ddf4758dbacad41.tar.bz2
[PATCH] inotify: event ordering
This rearranges the event ordering for "open" to be consistent with the ordering of the other events. Signed-off-by: Robert Love <rml@novell.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fsnotify.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fsnotify.h b/include/linux/fsnotify.h
index eb581b6..d07a92c 100644
--- a/include/linux/fsnotify.h
+++ b/include/linux/fsnotify.h
@@ -125,8 +125,8 @@ static inline void fsnotify_open(struct dentry *dentry)
if (S_ISDIR(inode->i_mode))
mask |= IN_ISDIR;
- inotify_inode_queue_event(inode, mask, 0, NULL);
inotify_dentry_parent_queue_event(dentry, mask, 0, dentry->d_name.name);
+ inotify_inode_queue_event(inode, mask, 0, NULL);
}
/*