LWN.net Logo

Advertisement

E-Commerce & credit card processing - the Open Source way!

Advertise here

dm: disable v1 interface

From:  Joe Thornber <thornber@sistina.com>
To:  Joe Thornber <thornber@sistina.com>
Subject:  [Patch 1/2] dm: disable v1 interface
Date:  Thu, 27 Nov 2003 12:49:12 +0000
Cc:  Linux Mailing List <linux-kernel@vger.kernel.org>, Andrew Morton <akpm@zip.com.au>

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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Copyright © 2003, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds