Re: [PATCH -next] fs: fix compat_ioctl build for CONFIG_BLOCK=n

From: Arnd Bergmann
Date: Mon Dec 14 2009 - 15:16:26 EST


On Monday 14 December 2009 17:10:05 Randy Dunlap wrote:
>
> From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
>
> Fix build failure when CONFIG_BLOCK=n:
>
> fs/compat_ioctl.c:1604: error: 'SG_SET_TRANSFORM' undeclared
>
> Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Your patch is obviously correct, but I wonder if we could just drop
the line completely, given that no driver in the kernel actually
implements this ioctl command. It was part of the ide-scsi driver
until 2.6.28, but that driver was removed in 2.6.29.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/