dm snapshot: disallow the COW and origin devices from being identical
[pandora-kernel.git] / include / linux / device-mapper.h
index 6712ab6..213a870 100644 (file)
@@ -116,6 +116,8 @@ struct dm_dev {
        char name[16];
 };
 
+dev_t dm_get_dev_t(const char *path);
+
 /*
  * Constructors should call these functions to ensure destination devices
  * are opened/closed correctly.