summaryrefslogtreecommitdiffstats
path: root/drivers/block/ub.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2010-07-07 16:51:23 +0200
committerJens Axboe <jaxboe@fusionio.com>2010-08-07 18:24:31 +0200
commit34484062445fe905bf02c72f87ddda21881acda3 (patch)
treed1eb872d04cc06b474d299746207864f0e085bd8 /drivers/block/ub.c
parentscsi: fix discard page leak (diff)
downloadlinux-34484062445fe905bf02c72f87ddda21881acda3.tar.xz
linux-34484062445fe905bf02c72f87ddda21881acda3.zip
scsi/i2o_block: cleanup ioctl handling
This fixes the ioctl function of the i2o_block driver, which has multiple problems: * The BLKI2OSRSTRAT and BLKI2OSWSTRAT commands always return -ENOTTY on success, where they should return 0. * Support for 32 bit compat is missing * The driver should use the .ioctl function and because .locked_ioctl is going away. The use of the big kernel lock remains for now, but gets made explictit in the ioctl function. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'drivers/block/ub.c')
0 files changed, 0 insertions, 0 deletions