[dm-devel] [PATCH] dm-snapshot: add module aliases
Mikulas Patocka
mpatocka at redhat.com
Thu Feb 7 20:10:38 UTC 2013
Hi. This is a fix for bug 889973.
Mikulas
---
dm-snapshot: add module aliases
Add module aliases so that autoloading works if the user tries to
activate "snapshot-origin" or "snapshot-merge" targets.
Signed-off-by: Mikulas Patocka <mpatocka at redhat.com>
---
drivers/md/dm-snap.c | 2 ++
1 file changed, 2 insertions(+)
Index: linux-3.8-rc6-fast/drivers/md/dm-snap.c
===================================================================
--- linux-3.8-rc6-fast.orig/drivers/md/dm-snap.c 2013-02-07 21:05:00.000000000 +0100
+++ linux-3.8-rc6-fast/drivers/md/dm-snap.c 2013-02-07 21:06:44.000000000 +0100
@@ -2310,3 +2310,5 @@ module_exit(dm_snapshot_exit);
MODULE_DESCRIPTION(DM_NAME " snapshot target");
MODULE_AUTHOR("Joe Thornber");
MODULE_LICENSE("GPL");
+MODULE_ALIAS("dm-snapshot-origin");
+MODULE_ALIAS("dm-snapshot-merge");
More information about the dm-devel
mailing list