diff options
author | Pete Zaitcev <zaitcev@redhat.com> | 2008-12-20 12:56:08 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-02-02 08:28:11 -0800 |
commit | f2bb7df9a905d90d0b725c7aca3813f190a0b734 (patch) | |
tree | 516e2ccb7ccf43ebb50d558c66843b282d7e59cb /sound | |
parent | cebba0f34cf88a239df6d9e601bf26a39796b041 (diff) |
USB: usbmon: Implement compat_ioctl
commit 7abce6bedc118eb39fe177c2c26be5d008505c14 upstream.
Running a 32-bit usbmon(8) on 2.6.28-rc9 produces the following:
ioctl32(usbmon:28563): Unknown cmd fd(3) cmd(400c9206){t:ffffff92;sz:12} arg(ffd3f458) on /dev/usbmon0
It happens because the compatibility mode was implemented for 2.6.18
and not updated for the fsops.compat_ioctl API.
This patch relocates the pieces from under #ifdef CONFIG_COMPAT into
compat_ioctl with no other changes except one new whitespace.
Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions