From: John McCutchan Date: Fri, 26 Aug 2005 18:02:04 +0000 (-0400) Subject: [PATCH] Document idr_get_new_above() semantics, update inotify X-Git-Tag: v2.6.13~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c657f2f25d50c602df9291bc6242b98fc090759;p=pandora-kernel.git [PATCH] Document idr_get_new_above() semantics, update inotify There is an off by one problem with idr_get_new_above. The comment and function name suggest that it will return an id > starting_id, but it actually returned an id >= starting_id, and kernel callers other than inotify treated it as such. The patch below fixes the comment, and fixes inotifys usage. The function name still doesn't match the behaviour, but it never did. Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed