Kevin Corry <kevcorry@xxxxxxxxxx> wrote: > > After talking with Alasdair a bit, there might be one bug in the "dm-use-idr" > patch I submitted before. It seems (based on some comments in lib/idr.c) that > the idr_find() routine might not return NULL if the desired ID value is not > in the tree. Confused. idr_find() returns the thing it found, or NULL. To which comments do you refer?