From: Yan Zheng Date: Wed, 6 Feb 2008 09:36:09 +0000 (-0800) Subject: A potential bug in inotify_user.c X-Git-Tag: v2.6.25-rc1~775 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c17d18e3775485bf1e0ce79575eb637a94494a2;p=pandora-kernel.git A potential bug in inotify_user.c Following comment is at fs/inotify_user.c:287 /* coalescing: drop this event if it is a dupe of the previous */ I think the previous event in the comment should be the last event in the link list. But inotify_dev_get_event return the first event in the list. In addition, it doesn't check whether the list is empty Signed-off-by: Yan Zheng Acked-by: Robert Love Cc: John McCutchan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed