From: Arnd Bergmann Date: Mon, 21 Dec 2009 16:53:53 +0000 (+0100) Subject: fs/compat_ioctl.c: fix build error when !BLOCK X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ed2617585f39dd12fae38c657bba68b9779ea10d;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git fs/compat_ioctl.c: fix build error when !BLOCK No driver uses SG_SET_TRANSFORM any more in Linux, since the ide-scsi driver was removed in 2.6.29. The compat-ioctl cleanup series moved the handling for this around, which broke building without CONFIG_BLOCK. Just remove the code handling it for compat mode. Signed-off-by: Al Viro --- diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index 14cbc831422a..332dd00f0894 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -1600,8 +1600,6 @@ static long do_ioctl_trans(int fd, unsigned int cmd, case KDSKBMETA: case KDSKBLED: case KDSETLED: - /* SG stuff */ - case SG_SET_TRANSFORM: /* AUTOFS */ case AUTOFS_IOC_READY: case AUTOFS_IOC_FAIL: