]> git.baikalelectronics.ru Git - kernel.git/commit
idr: Delete idr_replace_ext function
authorMatthew Wilcox <mawilcox@microsoft.com>
Tue, 28 Nov 2017 14:56:36 +0000 (09:56 -0500)
committerMatthew Wilcox <mawilcox@microsoft.com>
Tue, 6 Feb 2018 21:40:31 +0000 (16:40 -0500)
commit0cfaaa804ab17897b3c2be5e6a31843df559db46
tree887bef7403ebe2d39c7d1afc33bd22d72c276d76
parentd129da72c20ea353ff9a1348221266804f6bd721
idr: Delete idr_replace_ext function

Changing idr_replace's 'id' argument to 'unsigned long' works for all
callers.  Callers which passed a negative ID now get -ENOENT instead of
-EINVAL.  No callers relied on this error value.

Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
include/linux/idr.h
lib/idr.c
net/sched/act_api.c
net/sched/cls_basic.c
net/sched/cls_bpf.c
net/sched/cls_flower.c
net/sched/cls_u32.c