Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: include/linux/device-mapper.h

Issue 2020011: CHROMIUM: add boot-to-device mapper support. (Closed) Base URL: ssh://git@gitrw.chromium.org//kernel.git
Patch Set: fix the onyl Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « drivers/md/dm-table.c ('k') | init/Makefile » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/linux/device-mapper.h
diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h
index df7607e6dce80ec188d061524103fbdf822cd2a7..dd050b185848ac3b4a3940e3ac9d94d29d2a9971 100644
--- a/include/linux/device-mapper.h
+++ b/include/linux/device-mapper.h
@@ -216,6 +216,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);
« no previous file with comments | « drivers/md/dm-table.c ('k') | init/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698