Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 33013a88 authored by Philip Langdale's avatar Philip Langdale Committed by Jens Axboe
Browse files

compat_ioctl: fix block device compat ioctl regression



The conversion of handlers to compat_blkdev_ioctl accidentally
disabled handling of most ioctl numbers on block devices because
of a typo. Fix the one line to enable it all again.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarJens Axboe <axboe@carl.home.kernel.dk>
parent 6eca9004
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -581,7 +581,7 @@ static int compat_blkdev_driver_ioctl(struct inode *inode, struct file *file,
{
	int ret;

	switch (arg) {
	switch (cmd) {
	case HDIO_GET_UNMASKINTR:
	case HDIO_GET_MULTCOUNT:
	case HDIO_GET_KEEPSETTINGS: