[Patch 1/2] dm: disable v1 interface

From: Joe Thornber
Date: Thu Nov 27 2003 - 07:52:25 EST


Disable v1 of the ioctl interface.
--- diff/drivers/md/Kconfig 2003-11-25 15:47:48.000000000 +0000
+++ source/drivers/md/Kconfig 2003-11-27 12:18:40.000000000 +0000
@@ -135,13 +135,5 @@

If unsure, say N.

-config DM_IOCTL_V4
- bool "ioctl interface version 4"
- depends on BLK_DEV_DM
- default y
- ---help---
- Recent tools use a new version of the ioctl interface, only
- select this option if you intend using such tools.
-
endmenu

--- diff/drivers/md/dm-ioctl.c 2003-08-20 14:16:09.000000000 +0100
+++ source/drivers/md/dm-ioctl.c 2003-11-27 12:24:10.000000000 +0000
@@ -6,8 +6,4 @@

#include <linux/dm-ioctl.h>

-#ifdef CONFIG_DM_IOCTL_V4
#include "dm-ioctl-v4.c"
-#else
-#include "dm-ioctl-v1.c"
-#endif
--- diff/include/linux/dm-ioctl.h 2003-08-20 14:16:14.000000000 +0100
+++ source/include/linux/dm-ioctl.h 2003-11-27 12:19:20.000000000 +0000
@@ -7,12 +7,6 @@
#ifndef _LINUX_DM_IOCTL_H
#define _LINUX_DM_IOCTL_H

-#include <linux/config.h>
-
-#ifdef CONFIG_DM_IOCTL_V4
#include "dm-ioctl-v4.h"
-#else
-#include "dm-ioctl-v1.h"
-#endif

#endif
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/