[PATCH] Fix blkpg ioctl32 handling

From: Jeremy Katz
Date: Tue Mar 16 2004 - 17:02:10 EST


Simple obvious patch so that all calls to blkpg from the non-native
environment don't get -EINVAL

Jeremy
--- linux-2.6.4/fs/compat_ioctl.c.blkpg 2004-03-16 16:12:17.761705684 -0500
+++ linux-2.6.4/fs/compat_ioctl.c 2004-03-16 16:12:40.186738770 -0500
@@ -1952,6 +1952,7 @@
set_fs (KERNEL_DS);
err = sys_ioctl(fd, cmd, (unsigned long)&a);
set_fs (old_fs);
+ break;
default:
return -EINVAL;
}