Please sign in to comment.
firewire: convert to idr_alloc()
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@example.com: fix accidentally orphaned 'minor'[ Signed-off-by: Tejun Heo <firstname.lastname@example.org> Acked-by: Stefan Richter <email@example.com> Signed-off-by: Tim Gardner <firstname.lastname@example.org> Signed-off-by: Stefan Richter <email@example.com> Signed-off-by: Andrew Morton <firstname.lastname@example.org> Signed-off-by: Linus Torvalds <email@example.com>
- Loading branch information...
Showing with 13 additions and 17 deletions.