Skip to contentSkip to conversation

Fix blkpg ioctl32 handling

PATCH New Jeremy Katz 1 participant 1 message Mar 16, 2004 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix blkpg ioctl32 handling

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

Jeremy

fs/compat_ioctl.c renamed from fs/compat_ioctl.c.blkpg +1 -0
@@ -1952,6 +1952,7 @@
 		set_fs (KERNEL_DS);
 		err = sys_ioctl(fd, cmd, (unsigned long)&a);
 		set_fs (old_fs);
+                break;
 	default:
 		return -EINVAL;
 	}