]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] enable device mapper in compat layer
authorAnton Blanchard <anton@samba.org>
Sun, 6 Jul 2003 03:39:12 +0000 (20:39 -0700)
committerAnton Blanchard <anton@samba.org>
Sun, 6 Jul 2003 03:39:12 +0000 (20:39 -0700)
The compat ioctls for device mapper were not being enabled due to an
incorrect config option.

include/linux/compat_ioctl.h

index 076b1b268c7de8dc68e894d62a517c2ca745a416..3fb888cc0c34b7e12563b225b652ad620191c925 100644 (file)
@@ -117,7 +117,7 @@ COMPATIBLE_IOCTL(START_ARRAY)
 COMPATIBLE_IOCTL(STOP_ARRAY)
 COMPATIBLE_IOCTL(STOP_ARRAY_RO)
 COMPATIBLE_IOCTL(RESTART_ARRAY_RW)
-#ifdef CONFIG_DM
+#ifdef CONFIG_BLK_DEV_DM
 /* DM */
 COMPATIBLE_IOCTL(DM_VERSION)
 COMPATIBLE_IOCTL(DM_REMOVE_ALL)