Skip to contentSkip to conversation

dm-snapshot: add module aliases

PATCH New Mikulas Patocka 1 participant 1 message Feb 7, 2013 Device mapper

lore
Share & tools
lore

Mikulas Patocka

author maintainer
#0 lore raw

PATCH 1/1 dm-snapshot: add module aliases

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.

---
 drivers/md/dm-snap.c |    2 ++
 1 file changed, 2 insertions(+)
drivers/md/dm-snap.c +2 -0
Index: linux-3.8-rc6-fast/drivers/md/dm-snap.c
===================================================================
@@ -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");