mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
Convert to the much saner new idr interface.
v2: Stefan pointed out that add_client_resource() may be called from
non-process context. Preload iff @gfp_mask contains __GFP_WAIT.
Also updated to include minor upper limit check.
[[email protected]: fix accidentally orphaned 'minor'[
Signed-off-by: Tejun Heo <[email protected]>
Acked-by: Stefan Richter <[email protected]>
Signed-off-by: Tim Gardner <[email protected]>
Signed-off-by: Stefan Richter <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>