]> err.no Git - linux-2.6/commit
[S390] cio: fix orb initialization in cio_start_key
authorStefan Weinhuber <wein@de.ibm.com>
Tue, 16 Sep 2008 16:32:19 +0000 (09:32 -0700)
committerMartin Schwidefsky <sky@skybook.(none)>
Tue, 16 Sep 2008 16:34:32 +0000 (09:34 -0700)
commit9adb8c1d4f0ac78b3469e377ce5f8a846cbaedaf
tree7ee39444979acfc3a838d15c911a3735c4ddd869
parentf26fd5d6e5006eae75a389c7ce74ed16761d094b
[S390] cio: fix orb initialization in cio_start_key

The functions cio_tm_start_key and cio_start_key use the same private
orb structure of a subchannel, so the orb needs to be cleared of old
data before it is used again. A respective memset is missing from
cio_start_key and hereby added.

Signed-off-by: Stefan Weinhuber <wein@de.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/cio.c