[S390] cio: css_register_subchannel race.
authorStefan Bader <shbader@de.ibm.com>
Fri, 15 Dec 2006 16:18:30 +0000 (17:18 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 15 Dec 2006 16:18:30 +0000 (17:18 +0100)
commite42734e270b9e5ada83188d73b733533ce11ee4a
treea74c6f8eb8e517bcd3c85cd18bf9005231ad8e92
parentda1cf23efe0c067ef95e4702b386e6e1baab10c7
[S390] cio: css_register_subchannel race.

Asynchronous probe can release memory of a subchannel before
css_get_ssd_info is called. To fix this call css_get_ssd_info
before registering with driver core.

Signed-off-by: Stefan Bader <shbader@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/css.c