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)
commit234a4624efe5629a777b4c00dbdf41dd8b7332db
tree887bef7403ebe2d39c7d1afc33bd22d72c276d76
parent9c160941403ba833c8e67981806ccae73ff7aca7
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