]> git.hungrycats.org Git - linux/commitdiff
[PATCH] dm: Export dm_vcalloc()
authorAndrew Morton <akpm@osdl.org>
Wed, 18 Feb 2004 12:52:07 +0000 (04:52 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 18 Feb 2004 12:52:07 +0000 (04:52 -0800)
From: Joe Thornber <thornber@redhat.com>

Export dm_vcalloc()

drivers/md/dm-table.c
drivers/md/dm.h

index f0651c57981dcf7e3f887aec9f5cd226eb10c193..df7efc790aab9c4f1dc3e4d8a2bf799695217b34 100644 (file)
@@ -149,7 +149,7 @@ static int setup_btree_index(unsigned int l, struct dm_table *t)
        return 0;
 }
 
-static void *dm_vcalloc(unsigned long nmemb, unsigned long elem_size)
+void *dm_vcalloc(unsigned long nmemb, unsigned long elem_size)
 {
        unsigned long size;
        void *addr;
@@ -858,6 +858,7 @@ void dm_table_resume_targets(struct dm_table *t)
 }
 
 
+EXPORT_SYMBOL(dm_vcalloc);
 EXPORT_SYMBOL(dm_get_device);
 EXPORT_SYMBOL(dm_put_device);
 EXPORT_SYMBOL(dm_table_event);
index 7619155211674641b575c804e21772285f65c263..874fdf8da0eeb1d246605daf6a47b91728eacc2f 100644 (file)
@@ -167,4 +167,6 @@ void dm_linear_exit(void);
 int dm_stripe_init(void);
 void dm_stripe_exit(void);
 
+void *dm_vcalloc(unsigned long nmemb, unsigned long elem_size);
+
 #endif