summaryrefslogtreecommitdiff
path: root/include/linux/device-mapper.h
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2016-08-12 14:20:42 -0700
committerDmitry Shmidt <dimitrysh@google.com>2016-08-12 14:20:42 -0700
commit8e4f993802d3d853d5377b9aaa8df28926140077 (patch)
tree3e7f0636ce97b7f5006ff1f2c774b034d5b630cc /include/linux/device-mapper.h
parent1f369b24e2987c1b29c88ffcbd0ca99cddabe01c (diff)
parentaa3cda16a57e73e9fc269e1de1eb3c35f3f0ed20 (diff)
Merge remote-tracking branch 'common/android-4.4' into android-4.4.y
Diffstat (limited to 'include/linux/device-mapper.h')
-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 899ab9f8549e..b874d5b61ffc 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);