compat_ioctl: block: move blkdev_compat_ioctl() into ioctl.c
authorArnd Bergmann <arnd@arndb.de>
Fri, 29 Nov 2019 10:45:30 +0000 (11:45 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 3 Jan 2020 08:42:52 +0000 (09:42 +0100)
commitbdc1ddad3e5f385698df150a0cfaaac62b491e7e
treebdd780594091e995a502e343006482ffb8c08eac
parent1df23c6fe5b0654ece219985a0c32e40b100bd9a
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>
block/Makefile
block/compat_ioctl.c [deleted file]
block/ioctl.c