Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5995f16b authored by Robert Love's avatar Robert Love Committed by Linus Torvalds
Browse files

[PATCH] inotify: event ordering



This rearranges the event ordering for "open" to be consistent with the
ordering of the other events.

Signed-off-by: default avatarRobert Love <rml@novell.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 0399cb08
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);	
}

/*