Re: [PATCH] Add compat_ioctl to scsi host structure

Andi Kleen
2005-01-18T23:27:46Z

On Tue, Jan 18, 2005 at 07:35:36AM -0800, James Bottomley wrote:
> On Tue, 2005-01-18 at 12:03 +0100, Andi Kleen wrote:
> > Add a call vector for 32bit compat ioctls to the SCSI host
> > structure. This is needed for some followon patches.
> >
> > Signed-off-by: Andi Kleen <ak@muc.de>
>
> Shouldn't this also be surrounded by #ifdef CONFIG_COMPAT (on the
> grounds that you never fill it in unless CONFIG_COMPAT is defined)?

At least the standard file_operations has it without ifdef.
I guess it doesn't hurt too much even on non compat systems.

-Andi