]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
s390/dasd: fix ioctl return value
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 27 Aug 2012 08:59:42 +0000 (10:59 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 28 Aug 2012 08:08:31 +0000 (10:08 +0200)
commit6b79d14e7a9f5d31b78bcd01a122f0c692e94a19
tree4ee76c367defa025cad0fdadc429ba0a56f79a0c
parentcbe05685c1859e655c663b6ff2d0f71093ee834d
s390/dasd: fix ioctl return value

For unimplemented ioctls the dasd driver should return -ENOTTY.

Reported-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Acked-by: Stefan Weinhuber <wein@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dasd_eckd.c
drivers/s390/block/dasd_ioctl.c