The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] nilfs2: unbreak compat ioctl
@ 2011-11-07 20:18 Thomas Meyer
  2011-11-10  3:49 ` Ryusuke Konishi
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Meyer @ 2011-11-07 20:18 UTC (permalink / raw)
  To: konishi.ryusuke, Linux Kernel Mailing List

[-- 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 --]

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-11-14  9:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-07 20:18 [PATCH] nilfs2: unbreak compat ioctl Thomas Meyer
2011-11-10  3:49 ` Ryusuke Konishi
2011-11-13 10:32   ` Thomas Meyer
2011-11-14  9:30     ` Ryusuke Konishi

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