mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Fix blkpg ioctl32 handling
@ 2004-03-16 21:58 Jeremy Katz
  0 siblings, 0 replies; only message in thread
From: Jeremy Katz @ 2004-03-16 21:58 UTC (permalink / raw)
  To: linux-kernel; +Cc: torvalds, akpm

[-- Attachment #1: Type: text/plain, Size: 106 bytes --]

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

Jeremy

[-- Attachment #2: linux-2.6.4-blkpg.patch --]
[-- Type: text/x-diff, Size: 357 bytes --]

--- 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;
 	}                                        

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-16 22:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-16 21:58 [PATCH] Fix blkpg ioctl32 handling Jeremy Katz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®