commit | a13ccb04af4aa6632c11d59ddf6555aa80ffb139 | [log] [tgz] |
---|---|---|
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | Mon Feb 23 19:50:47 2015 +0100 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Thu Feb 26 09:24:47 2015 +0100 |
tree | 826e0c56038f7f785bd7f976dfd1a6acb5905e25 | |
parent | 72dace969da8bf953915fd1776d6c15e7a41a675 [diff] |
s390/scm_block: fix off by one during cluster reservation We increase the msb_count after we're finished building the request. That way we can always access the current request via scmrq->request[msb_count] . But once the request is started we need to make sure that the array index stays below msb_count. Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>