OSDN Git Service

ida: Change ida_get_new_above to return the id
authorMatthew Wilcox <willy@infradead.org>
Mon, 18 Jun 2018 23:11:56 +0000 (19:11 -0400)
committerMatthew Wilcox <willy@infradead.org>
Wed, 22 Aug 2018 03:54:21 +0000 (23:54 -0400)
commit1df895190233fcc30d46beca4550bcafb7b959a6
treee71ce3cf8322831d2a75be80540a0956993bca42
parentb03f8e43c9261878bf29d8cc1c3ba458cc98287e
ida: Change ida_get_new_above to return the id

This calling convention makes more sense for the implementation as well
as the callers.  It even shaves 32 bytes off the compiled code size.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
lib/idr.c