sd: fix up ->compat_ioctl
authorChristoph Hellwig <hch@lst.de>
Fri, 24 Oct 2014 16:39:37 +0000 (18:39 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 12 Nov 2014 10:16:11 +0000 (11:16 +0100)
commit21a9d4c9d6c6bb22dffad67cb82f0037859262b7
tree585ee1325975aecd0cc52318e4ce7b857a1d5137
parent906d15fbd23c1267addab361063c1c8119992215
sd: fix up ->compat_ioctl

No need to verify the passthrough ioctls, the real handler will
take care of that.  Also make sure not to block for resets on
O_NONBLOCK fds.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
drivers/scsi/sd.c