summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Zeuthen <zeuthen@google.com>2017-01-24 13:02:35 -0500
committerDavid Zeuthen <zeuthen@google.com>2017-04-25 15:00:50 -0400
commit6a6a7657c231e947233c43ae0522bbd4edf0139e (patch)
tree25073c88c24064f3cd6c0acea91edb04477eb9f6 /include
parentd77312aeb21d93c3547f20b8cc09916daa928acc (diff)
ANDROID: Update init/do_mounts_dm.c to the latest ChromiumOS version.
This is needed for AVB integration work. Bug: 31796270 Test: Manually tested (other arch). Change-Id: I32fd37c1578c6414e3e6ff277d16ad94df7886b8 Signed-off-by: David Zeuthen <zeuthen@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/device-mapper.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h
index b874d5b61ffc..f3f87db34429 100644
--- a/include/linux/device-mapper.h
+++ b/include/linux/device-mapper.h
@@ -415,6 +415,13 @@ union map_info *dm_get_rq_mapinfo(struct request *rq);
struct queue_limits *dm_get_queue_limits(struct mapped_device *md);
+void dm_lock_md_type(struct mapped_device *md);
+void dm_unlock_md_type(struct mapped_device *md);
+void dm_set_md_type(struct mapped_device *md, unsigned type);
+unsigned dm_get_md_type(struct mapped_device *md);
+int dm_setup_md_queue(struct mapped_device *md);
+unsigned dm_table_get_type(struct dm_table *t);
+
/*
* Geometry functions.
*/