compat_ioctl: move common block ioctls to compat_blkdev_ioctl
authorArnd Bergmann <arnd@arndb.de>
Tue, 9 Oct 2007 11:23:51 +0000 (13:23 +0200)
committerJens Axboe <axboe@carl.home.kernel.dk>
Wed, 10 Oct 2007 07:26:00 +0000 (09:26 +0200)
commitf58c4c0a17e500e767473598b3deafaa1d64051d
treef8fbf3a2ce10a9fccf41f2f96bca1ca71b3dd77e
parentd2bbf3da3759d04cd5836955cc59c8ae96092831
compat_ioctl: move common block ioctls to compat_blkdev_ioctl

Make compat_blkdev_ioctl and blkdev_ioctl reflect the respective
native versions. This is somewhat more efficient and makes it easier
to keep the two in sync.

Also get rid of the bogus handling for broken_blkgetsize and the
duplicate entry for BLKRASET.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/Makefile
block/compat_ioctl.c [new file with mode: 0644]
block/ioctl.c
fs/compat_ioctl.c