]> xenbits.xensource.com Git - legacy/linux-2.6.18-xen.git/commit
xen/blkfront: forward unknown IOCTLs to scsi_cmd_ioctl() for /dev/sdX
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 22 Sep 2010 07:56:26 +0000 (08:56 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 22 Sep 2010 07:56:26 +0000 (08:56 +0100)
commitcdaeea25fe7688fd51ab7513415e10f27eda1db4
tree43fc3e194a10ac8840d3d3fe2166d8167172d520
parentd7dac159959649387b01e01efc5c968010b038ee
xen/blkfront: forward unknown IOCTLs to scsi_cmd_ioctl() for /dev/sdX

Certain utilities (here: parted) expect certain SCSI IOCTLs (here:
SCSI_IOCTL_GET_IDLUN) to not fail on /dev/sdX devices. Rather than
handling them one-by-one, just forward control to scsi_cmd_ioctl().

Signed-off-by: Jan Beulich <jbeulich@novell.com>
drivers/xen/blkfront/blkfront.c