]> git.openpandora.org Git - pandora-kernel.git/commitdiff
s390/scm_block: fix off by one during cluster reservation
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Mon, 23 Feb 2015 18:50:47 +0000 (19:50 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 26 Feb 2015 08:24:47 +0000 (09:24 +0100)
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>

No differences found