diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2013-03-01 23:45:47 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2013-03-01 23:45:47 +0100 |
commit | 23cb21092eb9dcec9d3604b68d95192b79915890 (patch) | |
tree | c647110dbe004e2a6f8b56f32df18374d7189a03 /drivers/md | |
parent | dm persistent data: set some btree fn parms const (diff) | |
download | linux-23cb21092eb9dcec9d3604b68d95192b79915890.tar.xz linux-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/md')
-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 5d78027e07ac..58c2b5881377 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"); |