commit | f7fea185d2998dc4c902ec47834ab6db28fe0029 | [log] [tgz] |
---|---|---|
author | Mathieu Segaud <mathieu.segaud@regala.cx> | Mon Jan 14 15:43:18 2008 +0100 |
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | Wed Jan 23 11:29:28 2008 -0600 |
tree | fdcbd91c4007ac3f4a7b98f2410f7eba546d5cb5 | |
parent | eaa3e22e8d32bf7a6176f04efad90f4a5aa67f58 [diff] |
[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>