]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
kclient: write ceph git version when module loads
authorYehuda Sadeh <yehuda@hq.newdream.net>
Wed, 4 Mar 2009 00:01:48 +0000 (16:01 -0800)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Wed, 4 Mar 2009 00:01:48 +0000 (16:01 -0800)
src/kernel/super.c

index a9adf27cb6890ce2e1eb1c12aa98d0e1c045d640..576dcfc45f0147555d2f555178dc4c7f7507e5b5 100644 (file)
@@ -13,6 +13,7 @@
 /* debug levels; defined in super.h */
 
 #include "ceph_debug.h"
+#include "ceph_ver.h"
 
 /*
  * global debug value.
@@ -1063,6 +1064,7 @@ static int __init init_ceph(void)
        int ret = 0;
 
        dout(1, "init_ceph\n");
+       dout(0, "ceph (%s)\n", STRINGIFY(CEPH_GIT_VER));
 
 #ifdef CONFIG_CEPH_BOOKKEEPER
        ceph_bookkeeper_init();