All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dm-snapshot: add module aliases
@ 2013-02-07 20:10 Mikulas Patocka
  0 siblings, 0 replies; only message in thread
From: Mikulas Patocka @ 2013-02-07 20:10 UTC (permalink / raw)
  To: Alasdair G. Kergon, dm-devel, Zdenek Kabelac

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-02-07 20:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-07 20:10 [PATCH] dm-snapshot: add module aliases Mikulas Patocka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.