diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2013-03-01 17:45:47 -0500 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2013-03-01 17:45:47 -0500 |
commit | 23cb21092eb9dcec9d3604b68d95192b79915890 (patch) | |
tree | c647110dbe004e2a6f8b56f32df18374d7189a03 /drivers/md | |
parent | 018cede93c987273071aed153b6d207e0af5e868 (diff) |
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); | |||
2302 | MODULE_DESCRIPTION(DM_NAME " snapshot target"); | 2302 | MODULE_DESCRIPTION(DM_NAME " snapshot target"); |
2303 | MODULE_AUTHOR("Joe Thornber"); | 2303 | MODULE_AUTHOR("Joe Thornber"); |
2304 | MODULE_LICENSE("GPL"); | 2304 | MODULE_LICENSE("GPL"); |
2305 | MODULE_ALIAS("dm-snapshot-origin"); | ||
2306 | MODULE_ALIAS("dm-snapshot-merge"); | ||