From: Arnd Bergmann Date: Thu, 8 Jul 2010 12:57:03 +0000 (+0200) Subject: scsi/i2o: restore ioctl changes X-Git-Tag: v2.6.36-rc1~288^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2daa672b1a736d41b3e7a2e3a05f1909a1f96530;p=pandora-kernel.git scsi/i2o: restore ioctl changes This restores the changes from "scsi/i2o_block: cleanup ioctl handling", which accidentally got reverted. Origignal changelog: 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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed