aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2013-03-01 17:45:47 -0500
committerAlasdair G Kergon <agk@redhat.com>2013-03-01 17:45:47 -0500
commit23cb21092eb9dcec9d3604b68d95192b79915890 (patch)
treec647110dbe004e2a6f8b56f32df18374d7189a03 /drivers/md
parent018cede93c987273071aed153b6d207e0af5e868 (diff)
dm snapshot: add missing module aliases
Add module aliases so that autoloading works correctly if the user tries to activate "snapshot-origin" or "snapshot-merge" targets. Reference: https://bugzilla.redhat.com/889973 Reported-by: Chao Yang <chyang@redhat.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Cc: stable@vger.kernel.org Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/dm-snap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/md/dm-snap.c b/drivers/md/dm-snap.c
index 5d78027e07ac..58c2b5881377 100644
--- a/drivers/md/dm-snap.c
+++ b/drivers/md/dm-snap.c
@@ -2302,3 +2302,5 @@ module_exit(dm_snapshot_exit);
2302MODULE_DESCRIPTION(DM_NAME " snapshot target"); 2302MODULE_DESCRIPTION(DM_NAME " snapshot target");
2303MODULE_AUTHOR("Joe Thornber"); 2303MODULE_AUTHOR("Joe Thornber");
2304MODULE_LICENSE("GPL"); 2304MODULE_LICENSE("GPL");
2305MODULE_ALIAS("dm-snapshot-origin");
2306MODULE_ALIAS("dm-snapshot-merge");