blktrace: fix off-by-one bug
'what' is used as the index of array what2act, so it can't >= the array size. Signed-off-by: NLi Zefan <lizf@cn.fujitsu.com> Acked-by: NJens Axboe <jens.axboe@oracle.com> Acked-by: NArnaldo Carvalho de Melo <acme@redhat.com> Acked-by: NSteven Rostedt <rostedt@goodmis.org> Signed-off-by: NIngo Molnar <mingo@elte.hu>
Showing
想要评论请 注册 或 登录