summaryrefslogtreecommitdiffstats
path: root/fs/ceph/super.c
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2009-10-07 10:59:10 -0700
committerSage Weil <sage@newdream.net>2009-10-07 10:59:10 -0700
commitfa0b72e9e2900ee87886aaf8bc4c4701be1e081d (patch)
tree61fd8a0bf6dd27a0ae1bc11bd45e171aefa46fda /fs/ceph/super.c
parente324b8f991679a43e09dd13500bf1988c0bfc0ea (diff)
downloadop-kernel-dev-fa0b72e9e2900ee87886aaf8bc4c4701be1e081d.zip
op-kernel-dev-fa0b72e9e2900ee87886aaf8bc4c4701be1e081d.tar.gz
ceph: show meaningful version on module load
Kill the old git revision; print the ceph version and protocol versions instead. Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/super.c')
-rw-r--r--fs/ceph/super.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/ceph/super.c b/fs/ceph/super.c
index 0723fb6..b3404a3 100644
--- a/fs/ceph/super.c
+++ b/fs/ceph/super.c
@@ -16,7 +16,6 @@
#include <linux/version.h>
#include <linux/vmalloc.h>
-#include "ceph_ver.h"
#include "decode.h"
#include "super.h"
#include "mon_client.h"
@@ -903,7 +902,9 @@ static int __init init_ceph(void)
if (ret)
goto out_icache;
- pr_info("loaded (%s)\n", STRINGIFY(CEPH_GIT_VER));
+ pr_info("loaded %d.%d.%d (mon/mds/osd proto %d/%d/%d)\n",
+ CEPH_VERSION_MAJOR, CEPH_VERSION_MINOR, CEPH_VERSION_PATCH,
+ CEPH_MONC_PROTOCOL, CEPH_MDSC_PROTOCOL, CEPH_OSDC_PROTOCOL);
return 0;
out_icache:
OpenPOWER on IntegriCloud