s390/dasd: fix return value for non-existent ioctls
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 6 Sep 2012 12:47:30 +0000 (14:47 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 26 Sep 2012 13:45:12 +0000 (15:45 +0200)
commit2267a0c85c4314b64440b9a1e3442d2eb90a719f
tree0e75d6df4ca328c6ae7dc8d976b13956803ee0e9
parentcaf757c609445b01ad845df160369d8ccfd97d5b
s390/dasd: fix return value for non-existent ioctls

For non-existent ioctls -ENOTTY should be returned.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dasd_ioctl.c