linux-IllusionX/lib
John McCutchan 7c657f2f25 [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 <ttb@tentacle.dhs.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-08-26 11:32:57 -07:00
..
reed_solomon
zlib_deflate
zlib_inflate
bitmap.c
bust_spinlocks.c
cmdline.c
crc-ccitt.c
crc32.c
crc32defs.h
ctype.c
dec_and_lock.c
div64.c
dump_stack.c
errno.c
extable.c
find_next_bit.c
gen_crc32table.c
genalloc.c
halfmd4.c
idr.c [PATCH] Document idr_get_new_above() semantics, update inotify 2005-08-26 11:32:57 -07:00
inflate.c
int_sqrt.c
iomap.c
Kconfig
Kconfig.debug
kernel_lock.c
klist.c
kobject.c
kobject_uevent.c
kref.c
libcrc32c.c
Makefile
parser.c
prio_tree.c
radix-tree.c
rbtree.c
rwsem-spinlock.c
rwsem.c
sha1.c
smp_processor_id.c
sort.c
string.c
textsearch.c
ts_fsm.c
ts_kmp.c
vsprintf.c