diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2013-03-01 22:45:47 +0000 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2013-03-01 22:45:47 +0000 |
commit | 23cb21092eb9dcec9d3604b68d95192b79915890 (patch) | |
tree | c647110dbe004e2a6f8b56f32df18374d7189a03 /drivers | |
parent | 018cede93c987273071aed153b6d207e0af5e868 (diff) | |
download | linux-3.10-23cb21092eb9dcec9d3604b68d95192b79915890.tar.gz linux-3.10-23cb21092eb9dcec9d3604b68d95192b79915890.tar.bz2 linux-3.10-23cb21092eb9dcec9d3604b68d95192b79915890.zip |
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')
-rw-r--r-- | drivers/md/dm-snap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/md/dm-snap.c b/drivers/md/dm-snap.c index 5d78027e07a..58c2b588137 100644 --- a/drivers/md/dm-snap.c +++ b/drivers/md/dm-snap.c @@ -2302,3 +2302,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"); |