mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 11:16:11 +00:00
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 <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
05f94c9b74
commit
ed2617585f
1 changed files with 0 additions and 2 deletions
|
@ -1600,8 +1600,6 @@ static long do_ioctl_trans(int fd, unsigned int cmd,
|
||||||
case KDSKBMETA:
|
case KDSKBMETA:
|
||||||
case KDSKBLED:
|
case KDSKBLED:
|
||||||
case KDSETLED:
|
case KDSETLED:
|
||||||
/* SG stuff */
|
|
||||||
case SG_SET_TRANSFORM:
|
|
||||||
/* AUTOFS */
|
/* AUTOFS */
|
||||||
case AUTOFS_IOC_READY:
|
case AUTOFS_IOC_READY:
|
||||||
case AUTOFS_IOC_FAIL:
|
case AUTOFS_IOC_FAIL:
|
||||||
|
|
Loading…
Reference in a new issue