summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-snap.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2013-03-01 22:45:47 +0000
committerBen Hutchings <ben@decadent.org.uk>2013-03-20 15:03:21 +0000
commite0179c31e0818d5efc87a475f2b83979ef2d3585 (patch)
tree2d045e5f91cea789d4a966f9f9483690177a72ba /drivers/md/dm-snap.c
parent4c8e681cfb1ce38e5c335ea943acc19be49bb302 (diff)
downloadlinux-stable-e0179c31e0818d5efc87a475f2b83979ef2d3585.tar.gz
linux-stable-e0179c31e0818d5efc87a475f2b83979ef2d3585.tar.bz2
linux-stable-e0179c31e0818d5efc87a475f2b83979ef2d3585.zip
dm snapshot: add missing module aliases
commit 23cb21092eb9dcec9d3604b68d95192b79915890 upstream. 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> Signed-off-by: Alasdair G Kergon <agk@redhat.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'drivers/md/dm-snap.c')
-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 463c65aa3b72..34ec2b5cdb2c 100644
--- a/drivers/md/dm-snap.c
+++ b/drivers/md/dm-snap.c
@@ -2323,3 +2323,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");