aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-log-userspace-base.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/dm-log-userspace-base.c')
-rw-r--r--drivers/md/dm-log-userspace-base.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/md/dm-log-userspace-base.c b/drivers/md/dm-log-userspace-base.c
index 31e1687e7bf6..aa2e0c374ab3 100644
--- a/drivers/md/dm-log-userspace-base.c
+++ b/drivers/md/dm-log-userspace-base.c
@@ -12,6 +12,8 @@
12 12
13#include "dm-log-userspace-transfer.h" 13#include "dm-log-userspace-transfer.h"
14 14
15#define DM_LOG_USERSPACE_VSN "1.1.0"
16
15struct flush_entry { 17struct flush_entry {
16 int type; 18 int type;
17 region_t region; 19 region_t region;
@@ -765,7 +767,7 @@ static int __init userspace_dirty_log_init(void)
765 return r; 767 return r;
766 } 768 }
767 769
768 DMINFO("version 1.0.0 loaded"); 770 DMINFO("version " DM_LOG_USERSPACE_VSN " loaded");
769 return 0; 771 return 0;
770} 772}
771 773
@@ -775,7 +777,7 @@ static void __exit userspace_dirty_log_exit(void)
775 dm_ulog_tfr_exit(); 777 dm_ulog_tfr_exit();
776 mempool_destroy(flush_entry_pool); 778 mempool_destroy(flush_entry_pool);
777 779
778 DMINFO("version 1.0.0 unloaded"); 780 DMINFO("version " DM_LOG_USERSPACE_VSN " unloaded");
779 return; 781 return;
780} 782}
781 783