xen-blkfront: beyond ARRAY_SIZE of info->shadow
authorRoel Kluin <roel.kluin@gmail.com>
Fri, 22 May 2009 07:25:32 +0000 (09:25 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 22 May 2009 07:59:51 +0000 (09:59 +0200)
commitb9ed7252d219c1c663944bf03846eabb515dbe75
tree9582f1255e501c5111ac88dbbba4a1f90beb223c
parent0a7ae2ff0d29bb3b327edff4c8ab67b3834fa811
xen-blkfront: beyond ARRAY_SIZE of info->shadow

Do not go beyond ARRAY_SIZE of info->shadow
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/xen-blkfront.c