]> err.no Git - linux-2.6/blobdiff - include/linux/device-mapper.h
fix hppfs Makefile breakage
[linux-2.6] / include / linux / device-mapper.h
index a68829e274fef70386dd8e94f00ced3687816df8..0d8d419d191ab1022036efee46bd7074968890e3 100644 (file)
@@ -8,8 +8,6 @@
 #ifndef _LINUX_DEVICE_MAPPER_H
 #define _LINUX_DEVICE_MAPPER_H
 
-#ifdef __KERNEL__
-
 #include <linux/bio.h>
 
 struct dm_target;
@@ -252,12 +250,6 @@ void dm_table_event(struct dm_table *t);
  */
 int dm_swap_table(struct mapped_device *md, struct dm_table *t);
 
-/*
- * Prepare a table for a device that will error all I/O.
- * To make it active, call dm_suspend(), dm_swap_table() then dm_resume().
- */
-int dm_create_error_table(struct dm_table **result, struct mapped_device *md);
-
 /*-----------------------------------------------------------------
  * Macros.
  *---------------------------------------------------------------*/
@@ -350,5 +342,4 @@ static inline unsigned long to_bytes(sector_t n)
        return (n << SECTOR_SHIFT);
 }
 
-#endif /* __KERNEL__ */
 #endif /* _LINUX_DEVICE_MAPPER_H */