axmap: ensure that we never return a value that is larger than the map size
authorJens Axboe <axboe@kernel.dk>
Wed, 23 Jan 2013 18:01:09 +0000 (11:01 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 23 Jan 2013 18:01:09 +0000 (11:01 -0700)
commit47d94b0ba87db8646f1a1d15f8b3911b3c640b30
tree360ed35b00ef39fd3e3d7d5360df49c45e89c963
parent731ef4c7c0aad1e6717e645595f3454d264b4f2f
axmap: ensure that we never return a value that is larger than the map size

Signed-off-by: Jens Axboe <axboe@kernel.dk>
lib/axmap.c