]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] cio: fix init_count in case of recognition after steal lock
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Mon, 8 Mar 2010 11:25:17 +0000 (12:25 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Mon, 8 Mar 2010 11:25:30 +0000 (12:25 +0100)
commitecb16aae1d8842903d52fead0cba6ab9695ad2b5
treea0bf6cf6e673cc4dd4da081d95c19f69d2832e9a
parentaf7cadd3535416af7b399417f426c46a70afbc11
[S390] cio: fix init_count in case of recognition after steal lock

After we try to steal a lock on a ccw device in boxed state,
we have to restart device recognition and potentially reprobing.

In this case ccw_device_init_count was erroneously decreased
twice. This patch fixes the issue.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/device.c