[PATCH] dm-snapshot: add module aliases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>

---
 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");

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel


[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux