+4
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
We need to check for a valid index before accessing the array element to avoid accessing invalid memory regions. Reviewed-by:Christoph Hellwig <hch@lst.de> Reviewed-by:
Jeff Moyer <jmoyer@redhat.com> Modified by Jens to drop the unlikely(), and make the fall through path be having a valid tag. Signed-off-by:
Jens Axboe <axboe@fb.com>