projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0399cb0
)
[PATCH] inotify: event ordering
author
Robert Love
<rml@novell.com>
Wed, 13 Jul 2005 16:38:39 +0000
(12:38 -0400)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Wed, 13 Jul 2005 18:09:31 +0000
(11:09 -0700)
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>
include/linux/fsnotify.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/fsnotify.h
b/include/linux/fsnotify.h
index eb581b6cfca9d0c13d882eb9201a70ebfcebb9ba..d07a92c94776a90866ab1327f1c6dfc80bbfbf7f 100644
(file)
--- 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);
}
/*