mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
[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 <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
1 parent
0399cb08c5
commit
5995f16b4a
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user