From: Jeremy Katz <katzj@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: torvalds@osdl.org, akpm@osdl.org
Subject: [PATCH] Fix blkpg ioctl32 handling
Date: Tue, 16 Mar 2004 16:58:42 -0500 [thread overview]
Message-ID: <1079474322.7787.13.camel@edoras.local.net> (raw)
[-- 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;
}
reply other threads:[~2004-03-16 22:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1079474322.7787.13.camel@edoras.local.net \
--to=katzj@redhat.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®