]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
dm: publish dm_get_mapinfo
authorMikulas Patocka <mpatocka@redhat.com>
Fri, 10 Oct 2008 12:37:10 +0000 (13:37 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 10 Oct 2008 12:37:10 +0000 (13:37 +0100)
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>
drivers/md/dm.h
include/linux/device-mapper.h

index 65f2f562220e02ffbb88d2f48d0dfe1aed679105..911d434361dd96f2639951488a9a872361277605 100644 (file)
@@ -91,7 +91,6 @@ int dm_stripe_init(void);
 void dm_stripe_exit(void);
 
 void *dm_vcalloc(unsigned long nmemb, unsigned long elem_size);
-union map_info *dm_get_mapinfo(struct bio *bio);
 int dm_open_count(struct mapped_device *md);
 int dm_lock_for_deletion(struct mapped_device *md);
 
index 178390de195ebd474e05d294f9f0db4f120577a5..6b80961650f073af8b18597b84d4dffd9dd64531 100644 (file)
@@ -207,6 +207,7 @@ int dm_copy_name_and_uuid(struct mapped_device *md, char *name, char *uuid);
 struct gendisk *dm_disk(struct mapped_device *md);
 int dm_suspended(struct mapped_device *md);
 int dm_noflush_suspending(struct dm_target *ti);
+union map_info *dm_get_mapinfo(struct bio *bio);
 
 /*
  * Geometry functions.