Skip to content

Commit bdc1dda

Browse files
committed
compat_ioctl: block: move blkdev_compat_ioctl() into ioctl.c
Having both in the same file allows a number of simplifications to the compat path, and makes it more likely that changes to the native path get applied to the compat version as well. Reviewed-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent 1df23c6 commit bdc1dda

3 files changed

Lines changed: 219 additions & 227 deletions

File tree

‎block/Makefile‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ obj-$(CONFIG_MQ_IOSCHED_KYBER) += kyber-iosched.o
2525
bfq-y := bfq-iosched.o bfq-wf2q.o bfq-cgroup.o
2626
obj-$(CONFIG_IOSCHED_BFQ) += bfq.o
2727

28-
obj-$(CONFIG_BLOCK_COMPAT) += compat_ioctl.o
2928
obj-$(CONFIG_BLK_CMDLINE_PARSER) += cmdline-parser.o
3029
obj-$(CONFIG_BLK_DEV_INTEGRITY) += bio-integrity.o blk-integrity.o t10-pi.o
3130
obj-$(CONFIG_BLK_MQ_PCI) += blk-mq-pci.o

‎block/compat_ioctl.c‎

Lines changed: 0 additions & 226 deletions
This file was deleted.

0 commit comments

Comments
 (0)