s390/cio: Make /dev/chsc a single-open device
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>
Thu, 6 Jun 2013 07:49:09 +0000 (09:49 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 26 Jun 2013 19:10:11 +0000 (21:10 +0200)
commit7a9cc6e18b8fe751a41349b188dd468a8317192a
tree0fe5e8f7afde1186a03ee8dd48f4226bc1f5c4a1
parent64150adf89df2ed165d6760f414fa6df07d22628
s390/cio: Make /dev/chsc a single-open device

In order to allow serialization of dynamic I/O with this patch
the /dev/chsc character device can only be accessed by one
single opener. Any subsequent open calls are rejected with EBUSY.

Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/chsc_sch.c