From: Thomas Meyer <thomas@m3y3r.de>
To: konishi.ryusuke@lab.ntt.co.jp,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH] nilfs2: unbreak compat ioctl
Date: Mon, 07 Nov 2011 21:18:37 +0100 [thread overview]
Message-ID: <1320697117.1396.4.camel@localhost.localdomain> (raw)
[-- Attachment #1: Type: text/plain, Size: 690 bytes --]
I guess commit 828b1c50ae11e6dda68f8dfefe43b74c7182b157 incidentally broke
all other compat ioctls. make them work again.
Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
---
fs/nilfs2/ioctl.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/fs/nilfs2/ioctl.c b/fs/nilfs2/ioctl.c
index 41d6743..1773a98 100644
--- a/fs/nilfs2/ioctl.c
+++ b/fs/nilfs2/ioctl.c
@@ -842,8 +842,6 @@ long nilfs_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
case FS_IOC32_GETVERSION:
cmd = FS_IOC_GETVERSION;
break;
- default:
- return -ENOIOCTLCMD;
}
return nilfs_ioctl(filp, cmd, (unsigned long)compat_ptr(arg));
}
--
1.7.7
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
next reply other threads:[~2011-11-07 20:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-07 20:18 Thomas Meyer [this message]
2011-11-10 3:49 ` [PATCH] nilfs2: unbreak compat ioctl Ryusuke Konishi
2011-11-13 10:32 ` Thomas Meyer
2011-11-14 9:30 ` Ryusuke Konishi
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=1320697117.1396.4.camel@localhost.localdomain \
--to=thomas@m3y3r.de \
--cc=konishi.ryusuke@lab.ntt.co.jp \
--cc=linux-kernel@vger.kernel.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