]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Add module aliases so that autoloading works correctly if the user
authorMikulas Patocka <mpatocka@redhat.com>
Wed, 13 Feb 2013 22:42:38 +0000 (09:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 13 Feb 2013 22:42:38 +0000 (09:42 +1100)
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>
drivers/md/dm-snap.c

index dcbd4f6957cedc41fd3beb276e678f1652b7626f..9fe53a360b4ebf1a738c3213e9c83c7f0aeb1cf6 100644 (file)
@@ -2307,3 +2307,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");