idr: document exit conditions on idr_for_each_entry better
authorGeorge Spelvin <linux@horizon.com>
Wed, 27 Mar 2013 13:08:33 +0000 (14:08 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 28 Mar 2013 16:10:24 +0000 (10:10 -0600)
commitb949be5857a4033e00fed67b707774f52619ce60
tree2463a095f1227887320872fe298a1a1f3c2250a9
parent29177b896676496dbefa27bd35f19c64e47cf0d3
idr: document exit conditions on idr_for_each_entry better

And some manual common subexpression elimination which may help the
compiler produce smaller code.

Signed-off-by: George Spelvin <linux@horizon.com>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/idr.h