[SCSI] ch: Convert to use unlocked_ioctl
commitf7fea185d2998dc4c902ec47834ab6db28fe0029
authorMathieu Segaud <mathieu.segaud@regala.cx>
Mon, 14 Jan 2008 14:43:18 +0000 (14 15:43 +0100)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 23 Jan 2008 17:29:28 +0000 (23 11:29 -0600)
treefdcbd91c4007ac3f4a7b98f2410f7eba546d5cb5
parenteaa3e22e8d32bf7a6176f04efad90f4a5aa67f58
[SCSI] ch: Convert to use unlocked_ioctl

As of now, compat_ioctl already runs without the BKL, whereas ioctl runs
with the BKL. This patch first converts changer_fops to use a .unlocked_ioctl
member. It applies the same locking rationale than ch_ioctl_compat() uses
to ch_ioctl().

Signed-off-by: Mathieu Segaud <mathieu.segaud@regala.cx>
Reviewed-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/ch.c