diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2008-10-10 08:37:10 -0400 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2008-10-10 08:37:10 -0400 |
commit | 89343da077ad564ed130c46e5ea6a79388410fa5 (patch) | |
tree | 63fc3da552cc025d86656172697fcd88782a1091 | |
parent | 82b1519b345d61dcfae526e3fcb08128f39f9bcc (diff) |
dm: publish dm_get_mapinfo
Publish dm_get_mapinfo in include/linux/device-mapper.h because this function
is used by targets.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
-rw-r--r-- | drivers/md/dm.h | 1 | ||||
-rw-r--r-- | include/linux/device-mapper.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm.h b/drivers/md/dm.h index 65f2f562220e..911d434361dd 100644 --- a/drivers/md/dm.h +++ b/drivers/md/dm.h | |||
@@ -91,7 +91,6 @@ int dm_stripe_init(void); | |||
91 | void dm_stripe_exit(void); | 91 | void dm_stripe_exit(void); |
92 | 92 | ||
93 | void *dm_vcalloc(unsigned long nmemb, unsigned long elem_size); | 93 | void *dm_vcalloc(unsigned long nmemb, unsigned long elem_size); |
94 | union map_info *dm_get_mapinfo(struct bio *bio); | ||
95 | int dm_open_count(struct mapped_device *md); | 94 | int dm_open_count(struct mapped_device *md); |
96 | int dm_lock_for_deletion(struct mapped_device *md); | 95 | int dm_lock_for_deletion(struct mapped_device *md); |
97 | 96 | ||
diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h index 178390de195e..6b80961650f0 100644 --- a/include/linux/device-mapper.h +++ b/include/linux/device-mapper.h | |||
@@ -207,6 +207,7 @@ int dm_copy_name_and_uuid(struct mapped_device *md, char *name, char *uuid); | |||
207 | struct gendisk *dm_disk(struct mapped_device *md); | 207 | struct gendisk *dm_disk(struct mapped_device *md); |
208 | int dm_suspended(struct mapped_device *md); | 208 | int dm_suspended(struct mapped_device *md); |
209 | int dm_noflush_suspending(struct dm_target *ti); | 209 | int dm_noflush_suspending(struct dm_target *ti); |
210 | union map_info *dm_get_mapinfo(struct bio *bio); | ||
210 | 211 | ||
211 | /* | 212 | /* |
212 | * Geometry functions. | 213 | * Geometry functions. |