Skip to content

Commit 89343da

Browse files
Mikulas Patockakergon
authored andcommitted
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 <[email protected]> Signed-off-by: Alasdair G Kergon <[email protected]>
1 parent 82b1519 commit 89343da

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

drivers/md/dm.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ int dm_stripe_init(void);
9191
void dm_stripe_exit(void);
9292

9393
void *dm_vcalloc(unsigned long nmemb, unsigned long elem_size);
94-
union map_info *dm_get_mapinfo(struct bio *bio);
9594
int dm_open_count(struct mapped_device *md);
9695
int dm_lock_for_deletion(struct mapped_device *md);
9796

include/linux/device-mapper.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ int dm_copy_name_and_uuid(struct mapped_device *md, char *name, char *uuid);
207207
struct gendisk *dm_disk(struct mapped_device *md);
208208
int dm_suspended(struct mapped_device *md);
209209
int dm_noflush_suspending(struct dm_target *ti);
210+
union map_info *dm_get_mapinfo(struct bio *bio);
210211

211212
/*
212213
* Geometry functions.

0 commit comments

Comments
 (0)