android_kernel_xiaomi_sm8350/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 Revert unnecessary zlib_inflate/inftrees.c fix 2005-08-17 13:07:28 -07:00
bitmap.c [PATCH] Use ALIGN to remove duplicate code 2005-06-25 16:25:02 -07:00
bust_spinlocks.c
cmdline.c
crc32.c [PATCH] crc32.c typo fix 2005-08-07 10:00:40 -07:00
crc32defs.h
crc-ccitt.c
ctype.c
dec_and_lock.c
div64.c
dump_stack.c
errno.c
extable.c
find_next_bit.c
gen_crc32table.c
genalloc.c [PATCH] ia64 uncached alloc 2005-06-21 18:46:18 -07:00
halfmd4.c
idr.c [PATCH] Document idr_get_new_above() semantics, update inotify 2005-08-26 11:32:57 -07:00
inflate.c [PATCH] Update in-kernel zlib routines 2005-08-05 16:23:21 -07:00
int_sqrt.c
iomap.c
Kconfig [PKT_SCHED]: Make TEXTSEARCH* options only selected. 2005-06-24 17:39:03 -07:00
Kconfig.debug [PATCH] DEBUG_FS must depend on SYSFS 2005-07-29 13:12:49 -07:00
kernel_lock.c [PATCH] smp_processor_id() cleanup 2005-06-21 18:46:13 -07:00
klist.c [PATCH] Don't reference NULL klist pointer in klist_remove(). 2005-06-20 15:15:19 -07:00
kobject_uevent.c [PATCH] Make kobject's name be const char * 2005-06-20 15:15:00 -07:00
kobject.c [PATCH] Make kobject's name be const char * 2005-06-20 15:15:00 -07:00
kref.c
libcrc32c.c
Makefile [PATCH] statically link halfmd4 2005-07-27 16:25:53 -07:00
parser.c
prio_tree.c
radix-tree.c [PATCH] mostly_read data section 2005-07-07 18:23:46 -07:00
rbtree.c
rwsem-spinlock.c
rwsem.c
sha1.c [PATCH] lib/sha1.c: fix sparse warning 2005-06-25 16:25:02 -07:00
smp_processor_id.c [PATCH] smp_processor_id() cleanup 2005-06-21 18:46:13 -07:00
sort.c
string.c
textsearch.c [LIB]: Textsearch infrastructure. 2005-06-23 20:49:30 -07:00
ts_fsm.c [LIB]: Naive finite state machine based textsearch 2005-06-23 20:59:16 -07:00
ts_kmp.c [LIB]: Knuth-Morris-Pratt textsearch algorithm 2005-06-23 20:58:37 -07:00
vsprintf.c [PATCH] %t... in vsnprintf 2005-08-23 18:43:46 -07:00