firewire: use in_compat_syscall to check ioctl compatness
authorAndy Lutomirski <luto@kernel.org>
Tue, 22 Mar 2016 21:25:13 +0000 (14:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Mar 2016 22:36:02 +0000 (15:36 -0700)
commita25045ff32dfb4d28c650560d5f2a82c1773dd1c
tree2bf5af2237f8dcd102783e716f7513b2601363d8
parent2bf8c47626599c54ab072a29ef1c294d3cce6b0a
firewire: use in_compat_syscall to check ioctl compatness

Firewire was using is_compat_task to check whether it was in a compat
ioctl or a non-compat ioctl.  Use is_compat_syscall instead so it works
properly on all architectures.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/firewire/core-cdev.c