[S390] cio: disallow online setting of device in transient state
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Tue, 31 Mar 2009 17:16:06 +0000 (19:16 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 31 Mar 2009 17:17:06 +0000 (19:17 +0200)
commitb5cd99e6b002776c0e946f38292adbb0258b7983
tree5ab63d9d5ee4e325b6221107873b1c32573682b0
parent47593bfa1056d306fde067b28dd8617009be4121
[S390] cio: disallow online setting of device in transient state

Return -EAGAIN on writes to sysfs online attribute if the corresponding
ccw device is in transient state.

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