Skip to content

Commit e4bf930

Browse files
Mikulas Patockagregkh
authored andcommitted
dm snapshot: add missing module aliases
commit 23cb210 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 <chyang@redhat.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Cc: Rui Xiang <rui.xiang@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent bed74df commit e4bf930

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/md/dm-snap.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2323,3 +2323,5 @@ module_exit(dm_snapshot_exit);
23232323
MODULE_DESCRIPTION(DM_NAME " snapshot target");
23242324
MODULE_AUTHOR("Joe Thornber");
23252325
MODULE_LICENSE("GPL");
2326+
MODULE_ALIAS("dm-snapshot-origin");
2327+
MODULE_ALIAS("dm-snapshot-merge");

0 commit comments

Comments
 (0)