Displaying 1 result from an estimated 1 matches for "do_ext2_ioctl".
2005 Apr 21
1
[PATCH]: ioctl wrappers for EXT3_IOC_GROUP_{EXTEND,ADD}
...('f', 7, unsigned int)
+#define EXT3_IOC32_GETVERSION_OLD _IOR('v', 1, int)
+#define EXT3_IOC32_SETVERSION_OLD _IOW('v', 2, int)
static int w_long(unsigned int fd, unsigned int cmd, unsigned long arg)
{
@@ -163,14 +166,17 @@
return err;
}
-static int do_ext2_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg)
+static int do_ext3_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg)
{
/* These are just misnamed, they actually get/put from/to user an int */
switch (cmd) {
- case EXT2_IOC32_GETFLAGS: cmd = EXT2_IOC_GETFLAGS; break;
- case EXT...