summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-11-02 14:41:28 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-11-02 14:41:27 -0700
commit137f201d512d8b2f476a0a75f79b6dade99c3894 (patch)
treeb9964a9b58b8941ee568370177d996765111bf8c /include/linux
parentf505d0d4f00795548a489721eb8d01eb1f546c7c (diff)
parentb23921e6b6b38c32807d1d6c21f9d459c9d4bcae (diff)
Merge "Revert "init: do_mounts: Add a dummy definition for dm_table_put""
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/device-mapper.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h
index 010b5ad2ac5d..5c720864db89 100644
--- a/include/linux/device-mapper.h
+++ b/include/linux/device-mapper.h
@@ -383,6 +383,12 @@ void dm_set_mdptr(struct mapped_device *md, void *ptr);
void *dm_get_mdptr(struct mapped_device *md);
/*
+ * Export the device via the ioctl interface (uses mdptr).
+ */
+int dm_ioctl_export(struct mapped_device *md, const char *name,
+ const char *uuid);
+
+/*
* A device can still be used while suspended, but I/O is deferred.
*/
int dm_suspend(struct mapped_device *md, unsigned suspend_flags);