[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1320697117.1396.4.camel@localhost.localdomain>
Date: Mon, 07 Nov 2011 21:18:37 +0100
From: Thomas Meyer <thomas@...3r.de>
To: konishi.ryusuke@....ntt.co.jp,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: [PATCH] nilfs2: unbreak compat ioctl
I guess commit 828b1c50ae11e6dda68f8dfefe43b74c7182b157 incidentally broke
all other compat ioctls. make them work again.
Signed-off-by: Thomas Meyer <thomas@...3r.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
Download attachment "signature.asc" of type "application/pgp-signature" (491 bytes)
Powered by blists - more mailing lists