retitle 496893 Please export dm_disk symbol
block 504165 by 496893
thanks
Hi,
patching the kernel with an alpha code is bad, so I would like to package
dm-raid45 module [0].
The only kernel dependency I cannot get around is an additionally exported symbol:
diff -Nru linux-source-2.6.26.old/drivers/md/dm.c
linux-source-2.6.26/drivers/md/dm.c
--- linux-source-2.6.26.old/drivers/md/dm.c 2008-07-13 23:51:29.000000000 +0200
+++ linux-source-2.6.26/drivers/md/dm.c 2008-10-31 17:11:25.000000000 +0100
@@ -1626,6 +1626,7 @@
{
return md->disk;
}
+EXPORT_SYMBOL_GPL(dm_disk);
int dm_suspended(struct mapped_device *md)
{
Will that be ok to add to the kernel code?
[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504165
Giuseppe.
Attachment:
signature.asc
Description: OpenPGP digital signature