From: Robert Love Date: Wed, 13 Jul 2005 16:38:39 +0000 (-0400) Subject: [PATCH] inotify: event ordering X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5995f16b4a464c8a57de7c9d5ddf4758dbacad41;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [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 Signed-off-by: Linus Torvalds --- diff --git a/include/linux/fsnotify.h b/include/linux/fsnotify.h index eb581b6cfca..d07a92c9477 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); } /*