aboutsummaryrefslogtreecommitdiffstats
path: root/module/spl/spl-generic.c
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2013-12-04 10:14:14 -0800
committerBrian Behlendorf <[email protected]>2013-12-06 11:03:43 -0800
commit921a35adeb9ccfa123add942bfe20837454138fa (patch)
tree218dd1437fbb2aef87c06bb3718acd606bbcfba8 /module/spl/spl-generic.c
parent50a0749eba31e821a7edf286f1e3b149f7d13c59 (diff)
Add module versioning
Use the standard Linux MODULE_VERSION macro to expose the installed spl and splat module versions. This will also automatically add a checksum of the .c files and headers in "srcversion". See: /sys/module/spl/version /sys/module/spl/srcversion /sys/module/splat/version /sys/module/splat/srcversion Signed-off-by: Brian Behlendorf <[email protected]> Closes zfsonlinux/zfs#1923 Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'module/spl/spl-generic.c')
-rw-r--r--module/spl/spl-generic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/module/spl/spl-generic.c b/module/spl/spl-generic.c
index 3cef48946..351f53670 100644
--- a/module/spl/spl-generic.c
+++ b/module/spl/spl-generic.c
@@ -759,3 +759,4 @@ module_exit(spl_fini);
MODULE_AUTHOR("Lawrence Livermore National Labs");
MODULE_DESCRIPTION("Solaris Porting Layer");
MODULE_LICENSE("GPL");
+MODULE_VERSION(SPL_META_VERSION "-" SPL_META_RELEASE);