Skip to content

Commit

Permalink
compat_ioctl: block: move blkdev_compat_ioctl() into ioctl.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
arndb committed Jan 3, 2020
1 parent 1df23c6 commit bdc1dda
Show file tree
Hide file tree
Showing 3 changed files with 219 additions and 227 deletions.
1 change: 0 additions & 1 deletion block/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ obj-$(CONFIG_MQ_IOSCHED_KYBER) += kyber-iosched.o
bfq-y := bfq-iosched.o bfq-wf2q.o bfq-cgroup.o
obj-$(CONFIG_IOSCHED_BFQ) += bfq.o

obj-$(CONFIG_BLOCK_COMPAT) += compat_ioctl.o
obj-$(CONFIG_BLK_CMDLINE_PARSER) += cmdline-parser.o
obj-$(CONFIG_BLK_DEV_INTEGRITY) += bio-integrity.o blk-integrity.o t10-pi.o
obj-$(CONFIG_BLK_MQ_PCI) += blk-mq-pci.o
Expand Down
226 changes: 0 additions & 226 deletions block/compat_ioctl.c

This file was deleted.

Loading

0 comments on commit bdc1dda

Please sign in to comment.