]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Mon, 10 Jun 2013 14:06:19 +0000 (16:06 +0200)
commitdf02818d2733d764e2627453669bab1be7a0e26d
tree4ba953feed9c40af1d711164b62a459914de3ca3
parentc9b85df6eb8c3e31c8b69ca6dffbb8a81c3511e4
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