From: Mikulas Patocka Date: Fri, 1 Mar 2013 22:45:47 +0000 (+0000) Subject: dm snapshot: add missing module aliases X-Git-Tag: v3.8.3~78 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9de9853227dd16156a01f01ed7e7774d47dce0d1;p=karo-tx-linux.git 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 Signed-off-by: Mikulas Patocka Signed-off-by: Alasdair G Kergon Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/md/dm-snap.c b/drivers/md/dm-snap.c index 10f601e87587..df74f9fc24ad 100644 --- a/drivers/md/dm-snap.c +++ b/drivers/md/dm-snap.c @@ -2303,3 +2303,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");